@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteTagsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DeleteTagsRequest>
NOOP| Constructor and Description |
|---|
DeleteTagsRequest()
Default constructor for DeleteTagsRequest object.
|
DeleteTagsRequest(List<String> resources)
Constructs a new DeleteTagsRequest object.
|
| Modifier and Type | Method and Description |
|---|---|
DeleteTagsRequest |
clone() |
boolean |
equals(Object obj) |
Request<DeleteTagsRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
List<String> |
getResources()
The IDs of one or more resources.
|
List<Tag> |
getTags()
One or more tags to delete.
|
int |
hashCode() |
void |
setResources(Collection<String> resources)
The IDs of one or more resources.
|
void |
setTags(Collection<Tag> tags)
One or more tags to delete.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DeleteTagsRequest |
withResources(Collection<String> resources)
The IDs of one or more resources.
|
DeleteTagsRequest |
withResources(String... resources)
The IDs of one or more resources.
|
DeleteTagsRequest |
withTags(Collection<Tag> tags)
One or more tags to delete.
|
DeleteTagsRequest |
withTags(Tag... tags)
One or more tags to delete.
|
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 DeleteTagsRequest()
public List<String> getResources()
The IDs of one or more resources.
public void setResources(Collection<String> resources)
The IDs of one or more resources.
resources - The IDs of one or more resources.public DeleteTagsRequest withResources(String... resources)
The IDs of one or more resources.
NOTE: This method appends the values to the existing list (if any). Use
setResources(java.util.Collection) or withResources(java.util.Collection) if you want to
override the existing values.
resources - The IDs of one or more resources.public DeleteTagsRequest withResources(Collection<String> resources)
The IDs of one or more resources.
resources - The IDs of one or more resources.public List<Tag> getTags()
One or more tags to delete. Specify a tag key and an optional tag value to delete specific tags. If you specify a tag key without a tag value, we delete any tag with this key regardless of its value. If you specify a tag key with an empty string as the tag value, we delete the tag only if its value is an empty string.
If you omit this parameter, we delete all user-defined tags for the specified resources. We do not delete
AWS-generated tags (tags that have the aws: prefix).
If you omit this parameter, we delete all user-defined tags for the specified resources. We do not delete
AWS-generated tags (tags that have the aws: prefix).
public void setTags(Collection<Tag> tags)
One or more tags to delete. Specify a tag key and an optional tag value to delete specific tags. If you specify a tag key without a tag value, we delete any tag with this key regardless of its value. If you specify a tag key with an empty string as the tag value, we delete the tag only if its value is an empty string.
If you omit this parameter, we delete all user-defined tags for the specified resources. We do not delete
AWS-generated tags (tags that have the aws: prefix).
tags - One or more tags to delete. Specify a tag key and an optional tag value to delete specific tags. If you
specify a tag key without a tag value, we delete any tag with this key regardless of its value. If you
specify a tag key with an empty string as the tag value, we delete the tag only if its value is an empty
string.
If you omit this parameter, we delete all user-defined tags for the specified resources. We do not delete
AWS-generated tags (tags that have the aws: prefix).
public DeleteTagsRequest withTags(Tag... tags)
One or more tags to delete. Specify a tag key and an optional tag value to delete specific tags. If you specify a tag key without a tag value, we delete any tag with this key regardless of its value. If you specify a tag key with an empty string as the tag value, we delete the tag only if its value is an empty string.
If you omit this parameter, we delete all user-defined tags for the specified resources. We do not delete
AWS-generated tags (tags that have the aws: prefix).
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection) or withTags(java.util.Collection) if you want to override the
existing values.
tags - One or more tags to delete. Specify a tag key and an optional tag value to delete specific tags. If you
specify a tag key without a tag value, we delete any tag with this key regardless of its value. If you
specify a tag key with an empty string as the tag value, we delete the tag only if its value is an empty
string.
If you omit this parameter, we delete all user-defined tags for the specified resources. We do not delete
AWS-generated tags (tags that have the aws: prefix).
public DeleteTagsRequest withTags(Collection<Tag> tags)
One or more tags to delete. Specify a tag key and an optional tag value to delete specific tags. If you specify a tag key without a tag value, we delete any tag with this key regardless of its value. If you specify a tag key with an empty string as the tag value, we delete the tag only if its value is an empty string.
If you omit this parameter, we delete all user-defined tags for the specified resources. We do not delete
AWS-generated tags (tags that have the aws: prefix).
tags - One or more tags to delete. Specify a tag key and an optional tag value to delete specific tags. If you
specify a tag key without a tag value, we delete any tag with this key regardless of its value. If you
specify a tag key with an empty string as the tag value, we delete the tag only if its value is an empty
string.
If you omit this parameter, we delete all user-defined tags for the specified resources. We do not delete
AWS-generated tags (tags that have the aws: prefix).
public Request<DeleteTagsRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<DeleteTagsRequest>public String toString()
toString in class ObjectObject.toString()public DeleteTagsRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2018. All rights reserved.