@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RemoveTagsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
This input identifies an Amazon EMR resource and a list of tags to remove.
NOOP
Constructor and Description |
---|
RemoveTagsRequest()
Default constructor for RemoveTagsRequest object.
|
RemoveTagsRequest(String resourceId)
Constructs a new RemoveTagsRequest object.
|
RemoveTagsRequest(String resourceId,
List<String> tagKeys)
Constructs a new RemoveTagsRequest object.
|
Modifier and Type | Method and Description |
---|---|
RemoveTagsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getResourceId()
The Amazon EMR resource identifier from which tags will be removed.
|
List<String> |
getTagKeys()
A list of tag keys to remove from the 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 the resource.
|
String |
toString()
Returns a string representation of this object.
|
RemoveTagsRequest |
withResourceId(String resourceId)
The Amazon EMR resource identifier from which tags will be removed.
|
RemoveTagsRequest |
withTagKeys(Collection<String> tagKeys)
A list of tag keys to remove from the resource.
|
RemoveTagsRequest |
withTagKeys(String... tagKeys)
A list of tag keys to remove from the resource.
|
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 RemoveTagsRequest()
public RemoveTagsRequest(String resourceId)
resourceId
- The Amazon EMR resource identifier from which tags will be removed. For example, a cluster identifier or
an Amazon EMR Studio ID.public RemoveTagsRequest(String resourceId, List<String> tagKeys)
resourceId
- The Amazon EMR resource identifier from which tags will be removed. For example, a cluster identifier or
an Amazon EMR Studio ID.tagKeys
- A list of tag keys to remove from the resource.public void setResourceId(String resourceId)
The Amazon EMR resource identifier from which tags will be removed. For example, a cluster identifier or an Amazon EMR Studio ID.
resourceId
- The Amazon EMR resource identifier from which tags will be removed. For example, a cluster identifier or
an Amazon EMR Studio ID.public String getResourceId()
The Amazon EMR resource identifier from which tags will be removed. For example, a cluster identifier or an Amazon EMR Studio ID.
public RemoveTagsRequest withResourceId(String resourceId)
The Amazon EMR resource identifier from which tags will be removed. For example, a cluster identifier or an Amazon EMR Studio ID.
resourceId
- The Amazon EMR resource identifier from which tags will be removed. For example, a cluster identifier or
an Amazon EMR Studio ID.public List<String> getTagKeys()
A list of tag keys to remove from the resource.
public void setTagKeys(Collection<String> tagKeys)
A list of tag keys to remove from the resource.
tagKeys
- A list of tag keys to remove from the resource.public RemoveTagsRequest withTagKeys(String... tagKeys)
A list of tag keys to remove from the 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 the resource.public RemoveTagsRequest withTagKeys(Collection<String> tagKeys)
A list of tag keys to remove from the resource.
tagKeys
- A list of tag keys to remove from the resource.public String toString()
toString
in class Object
Object.toString()
public RemoveTagsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()