public class RemoveTagsFromResourceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
RemoveTagsFromResource operation.
This operation removes one or more tags from the specified resource.
NOOP| Constructor and Description |
|---|
RemoveTagsFromResourceRequest() |
| Modifier and Type | Method and Description |
|---|---|
RemoveTagsFromResourceRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getResourceARN()
The Amazon Resource Name (ARN) of the resource you want to remove the
tags from.
|
List<String> |
getTagKeys()
The keys of the tags you want to remove from the specified resource.
|
int |
hashCode() |
void |
setResourceARN(String resourceARN)
The Amazon Resource Name (ARN) of the resource you want to remove the
tags from.
|
void |
setTagKeys(Collection<String> tagKeys)
The keys of the tags you want to remove from the specified resource.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RemoveTagsFromResourceRequest |
withResourceARN(String resourceARN)
The Amazon Resource Name (ARN) of the resource you want to remove the
tags from.
|
RemoveTagsFromResourceRequest |
withTagKeys(Collection<String> tagKeys)
The keys of the tags you want to remove from the specified resource.
|
RemoveTagsFromResourceRequest |
withTagKeys(String... tagKeys)
The keys of the tags you want to remove from the specified resource.
|
copyBaseTo, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getResourceARN()
Constraints:
Length: 50 - 500
public void setResourceARN(String resourceARN)
Constraints:
Length: 50 - 500
resourceARN - The Amazon Resource Name (ARN) of the resource you want to remove the
tags from.public RemoveTagsFromResourceRequest withResourceARN(String resourceARN)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 50 - 500
resourceARN - The Amazon Resource Name (ARN) of the resource you want to remove the
tags from.public List<String> getTagKeys()
public void setTagKeys(Collection<String> tagKeys)
tagKeys - The keys of the tags you want to remove from the specified resource. A
tag is composed of a key/value pair.public RemoveTagsFromResourceRequest withTagKeys(String... tagKeys)
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.
Returns a reference to this object so that method calls can be chained together.
tagKeys - The keys of the tags you want to remove from the specified resource. A
tag is composed of a key/value pair.public RemoveTagsFromResourceRequest withTagKeys(Collection<String> tagKeys)
Returns a reference to this object so that method calls can be chained together.
tagKeys - The keys of the tags you want to remove from the specified resource. A
tag is composed of a key/value pair.public String toString()
toString in class ObjectObject.toString()public RemoveTagsFromResourceRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2015. All rights reserved.