@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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() |
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.
|
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.
|
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, 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-2: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-2: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-2:123456789012:trail/MyTrail
arn:aws:cloudtrail:us-east-2: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-2: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-2: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()
clone in class AmazonWebServiceRequestCopyright © 2022. All rights reserved.