@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, event data store, or channel.
NOOP
Constructor and Description |
---|
RemoveTagsRequest() |
Modifier and Type | Method and Description |
---|---|
RemoveTagsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getResourceId()
Specifies the ARN of the trail, event data store, or channel 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, event data store, or channel 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, event data store, or channel 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, 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, withSdkRequestTimeout
public void setResourceId(String resourceId)
Specifies the ARN of the trail, event data store, or channel from which tags should be removed.
Example trail ARN format: arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
Example event data store ARN format:
arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE
Example channel ARN format: arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890
resourceId
- Specifies the ARN of the trail, event data store, or channel from which tags should be removed.
Example trail ARN format: arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
Example event data store ARN format:
arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE
Example channel ARN format: arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890
public String getResourceId()
Specifies the ARN of the trail, event data store, or channel from which tags should be removed.
Example trail ARN format: arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
Example event data store ARN format:
arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE
Example channel ARN format: arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890
Example trail ARN format: arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
Example event data store ARN format:
arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE
Example channel ARN format: arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890
public RemoveTagsRequest withResourceId(String resourceId)
Specifies the ARN of the trail, event data store, or channel from which tags should be removed.
Example trail ARN format: arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
Example event data store ARN format:
arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE
Example channel ARN format: arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890
resourceId
- Specifies the ARN of the trail, event data store, or channel from which tags should be removed.
Example trail ARN format: arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
Example event data store ARN format:
arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE
Example channel ARN format: arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890
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()