@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()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Request<DeleteTagsRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
List<String> |
getResources()
The IDs of the resources, separated by spaces.
|
List<Tag> |
getTags()
The tags to delete.
|
int |
hashCode() |
void |
setResources(Collection<String> resources)
The IDs of the resources, separated by spaces.
|
void |
setTags(Collection<Tag> tags)
The tags to delete.
|
String |
toString()
Returns a string representation of this object.
|
DeleteTagsRequest |
withResources(Collection<String> resources)
The IDs of the resources, separated by spaces.
|
DeleteTagsRequest |
withResources(String... resources)
The IDs of the resources, separated by spaces.
|
DeleteTagsRequest |
withTags(Collection<Tag> tags)
The tags to delete.
|
DeleteTagsRequest |
withTags(Tag... tags)
The tags to delete.
|
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 DeleteTagsRequest()
public DeleteTagsRequest(List<String> resources)
resources
- The IDs of the resources, separated by spaces.
Constraints: Up to 1000 resource IDs. We recommend breaking up this request into smaller batches.
public List<String> getResources()
The IDs of the resources, separated by spaces.
Constraints: Up to 1000 resource IDs. We recommend breaking up this request into smaller batches.
Constraints: Up to 1000 resource IDs. We recommend breaking up this request into smaller batches.
public void setResources(Collection<String> resources)
The IDs of the resources, separated by spaces.
Constraints: Up to 1000 resource IDs. We recommend breaking up this request into smaller batches.
resources
- The IDs of the resources, separated by spaces.
Constraints: Up to 1000 resource IDs. We recommend breaking up this request into smaller batches.
public DeleteTagsRequest withResources(String... resources)
The IDs of the resources, separated by spaces.
Constraints: Up to 1000 resource IDs. We recommend breaking up this request into smaller batches.
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 the resources, separated by spaces.
Constraints: Up to 1000 resource IDs. We recommend breaking up this request into smaller batches.
public DeleteTagsRequest withResources(Collection<String> resources)
The IDs of the resources, separated by spaces.
Constraints: Up to 1000 resource IDs. We recommend breaking up this request into smaller batches.
resources
- The IDs of the resources, separated by spaces.
Constraints: Up to 1000 resource IDs. We recommend breaking up this request into smaller batches.
public List<Tag> getTags()
The 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 Amazon
Web Services-generated tags (tags that have the aws:
prefix).
Constraints: Up to 1000 tags.
If you omit this parameter, we delete all user-defined tags for the specified resources. We do not delete
Amazon Web Services-generated tags (tags that have the aws:
prefix).
Constraints: Up to 1000 tags.
public void setTags(Collection<Tag> tags)
The 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 Amazon
Web Services-generated tags (tags that have the aws:
prefix).
Constraints: Up to 1000 tags.
tags
- The 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
Amazon Web Services-generated tags (tags that have the aws:
prefix).
Constraints: Up to 1000 tags.
public DeleteTagsRequest withTags(Tag... tags)
The 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 Amazon
Web Services-generated tags (tags that have the aws:
prefix).
Constraints: Up to 1000 tags.
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
- The 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
Amazon Web Services-generated tags (tags that have the aws:
prefix).
Constraints: Up to 1000 tags.
public DeleteTagsRequest withTags(Collection<Tag> tags)
The 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 Amazon
Web Services-generated tags (tags that have the aws:
prefix).
Constraints: Up to 1000 tags.
tags
- The 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
Amazon Web Services-generated tags (tags that have the aws:
prefix).
Constraints: Up to 1000 tags.
public Request<DeleteTagsRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DeleteTagsRequest>
public String toString()
toString
in class Object
Object.toString()
public DeleteTagsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()