public class RemoveTagsRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
This input identifies a cluster and a list of tags to remove.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
resourceId
The Amazon EMR resource identifier from which tags will be removed.
|
private SdkInternalList<java.lang.String> |
tagKeys
A list of tag keys to remove from a resource.
|
NOOP
Constructor and Description |
---|
RemoveTagsRequest()
Default constructor for RemoveTagsRequest object.
|
RemoveTagsRequest(java.lang.String resourceId)
Constructs a new RemoveTagsRequest object.
|
RemoveTagsRequest(java.lang.String resourceId,
java.util.List<java.lang.String> tagKeys)
Constructs a new RemoveTagsRequest object.
|
Modifier and Type | Method and Description |
---|---|
RemoveTagsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getResourceId()
The Amazon EMR resource identifier from which tags will be removed.
|
java.util.List<java.lang.String> |
getTagKeys()
A list of tag keys to remove from a resource.
|
int |
hashCode() |
void |
setResourceId(java.lang.String resourceId)
The Amazon EMR resource identifier from which tags will be removed.
|
void |
setTagKeys(java.util.Collection<java.lang.String> tagKeys)
A list of tag keys to remove from a resource.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RemoveTagsRequest |
withResourceId(java.lang.String resourceId)
The Amazon EMR resource identifier from which tags will be removed.
|
RemoveTagsRequest |
withTagKeys(java.util.Collection<java.lang.String> tagKeys)
A list of tag keys to remove from a resource.
|
RemoveTagsRequest |
withTagKeys(java.lang.String... tagKeys)
A list of tag keys to remove from a resource.
|
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
private java.lang.String resourceId
The Amazon EMR resource identifier from which tags will be removed. This value must be a cluster identifier.
private SdkInternalList<java.lang.String> tagKeys
A list of tag keys to remove from a resource.
public RemoveTagsRequest()
public RemoveTagsRequest(java.lang.String resourceId)
resourceId
- The Amazon EMR resource identifier from which tags will be
removed. This value must be a cluster identifier.public RemoveTagsRequest(java.lang.String resourceId, java.util.List<java.lang.String> tagKeys)
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.public void setResourceId(java.lang.String resourceId)
The Amazon EMR resource identifier from which tags will be removed. This value must be a cluster identifier.
resourceId
- The Amazon EMR resource identifier from which tags will be
removed. This value must be a cluster identifier.public java.lang.String getResourceId()
The Amazon EMR resource identifier from which tags will be removed. This value must be a cluster identifier.
public RemoveTagsRequest withResourceId(java.lang.String resourceId)
The Amazon EMR resource identifier from which tags will be removed. This value must be a cluster identifier.
resourceId
- The Amazon EMR resource identifier from which tags will be
removed. This value must be a cluster identifier.public java.util.List<java.lang.String> getTagKeys()
A list of tag keys to remove from a resource.
public void setTagKeys(java.util.Collection<java.lang.String> tagKeys)
A list of tag keys to remove from a resource.
tagKeys
- A list of tag keys to remove from a resource.public RemoveTagsRequest withTagKeys(java.lang.String... tagKeys)
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)
or
withTagKeys(java.util.Collection)
if you want to override the
existing values.
tagKeys
- A list of tag keys to remove from a resource.public RemoveTagsRequest withTagKeys(java.util.Collection<java.lang.String> tagKeys)
A list of tag keys to remove from a resource.
tagKeys
- A list of tag keys to remove from a resource.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public RemoveTagsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()