@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteTagsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DeleteTagsRequest>
Contains the parameters for DeleteTags.
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 ID of the resource.
|
List<Tag> |
getTags()
One or more tags to delete.
|
int |
hashCode() |
void |
setResources(Collection<String> resources)
The ID of the resource.
|
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 ID of the resource.
|
DeleteTagsRequest |
withResources(String... resources)
The ID of the resource.
|
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, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic DeleteTagsRequest()
public DeleteTagsRequest(List<String> resources)
resources - The ID of the resource. For example, ami-1a2b3c4d. You can specify more than one resource ID.public List<String> getResources()
The ID of the resource. For example, ami-1a2b3c4d. You can specify more than one resource ID.
public void setResources(Collection<String> resources)
The ID of the resource. For example, ami-1a2b3c4d. You can specify more than one resource ID.
resources - The ID of the resource. For example, ami-1a2b3c4d. You can specify more than one resource ID.public DeleteTagsRequest withResources(String... resources)
The ID of the resource. For example, ami-1a2b3c4d. You can specify more than one resource ID.
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 ID of the resource. For example, ami-1a2b3c4d. You can specify more than one resource ID.public DeleteTagsRequest withResources(Collection<String> resources)
The ID of the resource. For example, ami-1a2b3c4d. You can specify more than one resource ID.
resources - The ID of the resource. For example, ami-1a2b3c4d. You can specify more than one resource ID.public List<Tag> getTags()
One or more tags to delete. If you omit the value parameter, we delete the tag regardless of its
value. If you specify this parameter with an empty string as the value, we delete the key only if its value is an
empty string.
value parameter, we delete the tag regardless of
its value. If you specify this parameter with an empty string as the value, we delete the key only if its
value is an empty string.public void setTags(Collection<Tag> tags)
One or more tags to delete. If you omit the value parameter, we delete the tag regardless of its
value. If you specify this parameter with an empty string as the value, we delete the key only if its value is an
empty string.
tags - One or more tags to delete. If you omit the value parameter, we delete the tag regardless of
its value. If you specify this parameter with an empty string as the value, we delete the key only if its
value is an empty string.public DeleteTagsRequest withTags(Tag... tags)
One or more tags to delete. If you omit the value parameter, we delete the tag regardless of its
value. If you specify this parameter with an empty string as the value, we delete the key only if its value is an
empty string.
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. If you omit the value parameter, we delete the tag regardless of
its value. If you specify this parameter with an empty string as the value, we delete the key only if its
value is an empty string.public DeleteTagsRequest withTags(Collection<Tag> tags)
One or more tags to delete. If you omit the value parameter, we delete the tag regardless of its
value. If you specify this parameter with an empty string as the value, we delete the key only if its value is an
empty string.
tags - One or more tags to delete. If you omit the value parameter, we delete the tag regardless of
its value. If you specify this parameter with an empty string as the value, we delete the key only if its
value is an empty string.public Request<DeleteTagsRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<DeleteTagsRequest>public String toString()
toString in class ObjectObject.toString()public DeleteTagsRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2017. All rights reserved.