public class RemoveTagsRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Specifies the tags to remove from a trail.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
resourceId
Specifies the ARN of the trail from which tags should be removed.
|
private SdkInternalList<Tag> |
tagsList
Specifies a list of tags to be removed.
|
NOOP
Constructor and Description |
---|
RemoveTagsRequest() |
Modifier and Type | Method and Description |
---|---|
RemoveTagsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getResourceId()
Specifies the ARN of the trail from which tags should be removed.
|
java.util.List<Tag> |
getTagsList()
Specifies a list of tags to be removed.
|
int |
hashCode() |
void |
setResourceId(java.lang.String resourceId)
Specifies the ARN of the trail from which tags should be removed.
|
void |
setTagsList(java.util.Collection<Tag> tagsList)
Specifies a list of tags to be removed.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RemoveTagsRequest |
withResourceId(java.lang.String resourceId)
Specifies the ARN of the trail from which tags should be removed.
|
RemoveTagsRequest |
withTagsList(java.util.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
private java.lang.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
private SdkInternalList<Tag> tagsList
Specifies a list of tags to be removed.
public void setResourceId(java.lang.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 java.lang.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(java.lang.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 java.util.List<Tag> getTagsList()
Specifies a list of tags to be removed.
public void setTagsList(java.util.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(java.util.Collection<Tag> tagsList)
Specifies a list of tags to be removed.
tagsList
- Specifies a list of tags to be removed.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public RemoveTagsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()