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.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic 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 ObjectObject.toString()public RemoveTagsRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.