Class DeleteTagsRequest
- All Implemented Interfaces:
ReadLimitInfo
,DryRunSupportedRequest<DeleteTagsRequest>
,Serializable
,Cloneable
Contains the parameters for DeleteTags.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for DeleteTagsRequest object.DeleteTagsRequest
(List<String> resources) Constructs a new DeleteTagsRequest object. -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
This method is intended for internal use only.The ID of the resource.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.toString()
Returns a string representation of this object; useful for testing and debugging.withResources
(String... resources) The ID of the resource.withResources
(Collection<String> resources) The ID of the resource.One or more tags to delete.withTags
(Collection<Tag> tags) One or more tags to delete.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
-
Constructor Details
-
DeleteTagsRequest
public DeleteTagsRequest()Default constructor for DeleteTagsRequest object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it. -
DeleteTagsRequest
Constructs a new DeleteTagsRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
resources
- The ID of the resource. For example, ami-1a2b3c4d. You can specify more than one resource ID.
-
-
Method Details
-
getResources
The ID of the resource. For example, ami-1a2b3c4d. You can specify more than one resource ID.
- Returns:
- The ID of the resource. For example, ami-1a2b3c4d. You can specify more than one resource ID.
-
setResources
The ID of the resource. For example, ami-1a2b3c4d. You can specify more than one resource ID.
- Parameters:
resources
- The ID of the resource. For example, ami-1a2b3c4d. You can specify more than one resource ID.
-
withResources
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)
orwithResources(java.util.Collection)
if you want to override the existing values.- Parameters:
resources
- The ID of the resource. For example, ami-1a2b3c4d. You can specify more than one resource ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withResources
The ID of the resource. For example, ami-1a2b3c4d. You can specify more than one resource ID.
- Parameters:
resources
- The ID of the resource. For example, ami-1a2b3c4d. You can specify more than one resource ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Returns:
- 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.
-
setTags
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.- Parameters:
tags
- One or more tags to delete. If you omit thevalue
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.
-
withTags
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)
orwithTags(java.util.Collection)
if you want to override the existing values.- Parameters:
tags
- One or more tags to delete. If you omit thevalue
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withTags
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.- Parameters:
tags
- One or more tags to delete. If you omit thevalue
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getDryRunRequest
This method is intended for internal use only. Returns the marshaled request configured with additional parameters to enable operation dry-run.- Specified by:
getDryRunRequest
in interfaceDryRunSupportedRequest<DeleteTagsRequest>
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
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:
-