Class RemoveTagsRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
This input identifies a cluster and a list of tags to remove.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for RemoveTagsRequest object.RemoveTagsRequest
(String resourceId) Constructs a new RemoveTagsRequest object.RemoveTagsRequest
(String resourceId, List<String> tagKeys) Constructs a new RemoveTagsRequest object. -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
The Amazon EMR resource identifier from which tags will be removed.A list of tag keys to remove from a resource.int
hashCode()
void
setResourceId
(String resourceId) The Amazon EMR resource identifier from which tags will be removed.void
setTagKeys
(Collection<String> tagKeys) A list of tag keys to remove from a resource.toString()
Returns a string representation of this object; useful for testing and debugging.withResourceId
(String resourceId) The Amazon EMR resource identifier from which tags will be removed.withTagKeys
(String... tagKeys) A list of tag keys to remove from a resource.withTagKeys
(Collection<String> tagKeys) A list of tag keys to remove from a resource.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
-
RemoveTagsRequest
public RemoveTagsRequest()Default constructor for RemoveTagsRequest object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it. -
RemoveTagsRequest
Constructs a new RemoveTagsRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
resourceId
- The Amazon EMR resource identifier from which tags will be removed. This value must be a cluster identifier.
-
RemoveTagsRequest
Constructs a new RemoveTagsRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
resourceId
- The Amazon EMR resource identifier from which tags will be removed. This value must be a cluster identifier.tagKeys
- A list of tag keys to remove from a resource.
-
-
Method Details
-
setResourceId
The Amazon EMR resource identifier from which tags will be removed. This value must be a cluster identifier.
- Parameters:
resourceId
- The Amazon EMR resource identifier from which tags will be removed. This value must be a cluster identifier.
-
getResourceId
The Amazon EMR resource identifier from which tags will be removed. This value must be a cluster identifier.
- Returns:
- The Amazon EMR resource identifier from which tags will be removed. This value must be a cluster identifier.
-
withResourceId
The Amazon EMR resource identifier from which tags will be removed. This value must be a cluster identifier.
- Parameters:
resourceId
- The Amazon EMR resource identifier from which tags will be removed. This value must be a cluster identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getTagKeys
A list of tag keys to remove from a resource.
- Returns:
- A list of tag keys to remove from a resource.
-
setTagKeys
A list of tag keys to remove from a resource.
- Parameters:
tagKeys
- A list of tag keys to remove from a resource.
-
withTagKeys
A list of tag keys to remove from a resource.
NOTE: This method appends the values to the existing list (if any). Use
setTagKeys(java.util.Collection)
orwithTagKeys(java.util.Collection)
if you want to override the existing values.- Parameters:
tagKeys
- A list of tag keys to remove from a resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withTagKeys
A list of tag keys to remove from a resource.
- Parameters:
tagKeys
- A list of tag keys to remove from a resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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:
-