Class RemoveTagsRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.cloudtrail.model.RemoveTagsRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class RemoveTagsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Specifies the tags to remove from a trail.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description RemoveTagsRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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(Tag... tagsList)
Specifies a list of tags to be removed.RemoveTagsRequest
withTagsList(Collection<Tag> tagsList)
Specifies a list of tags to be removed.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
-
-
-
Method Detail
-
setResourceId
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
- Parameters:
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
-
getResourceId
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
- Returns:
- 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
-
withResourceId
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
- Parameters:
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
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getTagsList
public List<Tag> getTagsList()
Specifies a list of tags to be removed.
- Returns:
- Specifies a list of tags to be removed.
-
setTagsList
public void setTagsList(Collection<Tag> tagsList)
Specifies a list of tags to be removed.
- Parameters:
tagsList
- Specifies a list of tags to be removed.
-
withTagsList
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)
orwithTagsList(java.util.Collection)
if you want to override the existing values.- Parameters:
tagsList
- Specifies a list of tags to be removed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withTagsList
public RemoveTagsRequest withTagsList(Collection<Tag> tagsList)
Specifies a list of tags to be removed.
- Parameters:
tagsList
- Specifies a list of tags to be removed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public RemoveTagsRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-