public class RemoveTagsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Specifies the tags to remove from a trail.
NOOP
Constructor and Description |
---|
RemoveTagsRequest() |
Modifier and Type | Method and Description |
---|---|
RemoveTagsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getResourceId()
Specifies the ARN of the trail from which tags should be removed.
|
List<Tag> |
getTagsList()
Specifies a list of tags to be removed.
|
int |
hashCode() |
void |
setResourceId(String resourceId)
Specifies the ARN of the trail from which tags should be removed.
|
void |
setTagsList(Collection<Tag> tagsList)
Specifies a list of tags to be removed.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RemoveTagsRequest |
withResourceId(String resourceId)
Specifies the ARN of the trail from which tags should be removed.
|
RemoveTagsRequest |
withTagsList(Collection<Tag> tagsList)
Specifies a list of tags to be removed.
|
RemoveTagsRequest |
withTagsList(Tag... tagsList)
Specifies a list of tags to be removed.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setResourceId(String resourceId)
Specifies the ARN of the trail from which tags should be removed. The format of a trail ARN is:
arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail
resourceId
- Specifies the ARN of the trail from which tags should be removed.
The format of a trail ARN is:
arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail
public String getResourceId()
Specifies the ARN of the trail from which tags should be removed. The format of a trail ARN is:
arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail
arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail
public RemoveTagsRequest withResourceId(String resourceId)
Specifies the ARN of the trail from which tags should be removed. The format of a trail ARN is:
arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail
resourceId
- Specifies the ARN of the trail from which tags should be removed.
The format of a trail ARN is:
arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail
public List<Tag> getTagsList()
Specifies a list of tags to be removed.
public void setTagsList(Collection<Tag> tagsList)
Specifies a list of tags to be removed.
tagsList
- Specifies a list of tags to be removed.public RemoveTagsRequest withTagsList(Tag... tagsList)
Specifies a list of tags to be removed.
NOTE: This method appends the values to the existing list (if
any). Use setTagsList(java.util.Collection)
or
withTagsList(java.util.Collection)
if you want to override the
existing values.
tagsList
- Specifies a list of tags to be removed.public RemoveTagsRequest withTagsList(Collection<Tag> tagsList)
Specifies a list of tags to be removed.
tagsList
- Specifies a list of tags to be removed.public String toString()
toString
in class Object
Object.toString()
public RemoveTagsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2018. All rights reserved.