public class DeleteTagsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
DeleteTags operation.
Deletes a tag or tags from a resource. You must provide the ARN of the resource from which you want to delete the tag or tags.
NOOP| Constructor and Description |
|---|
DeleteTagsRequest() |
| Modifier and Type | Method and Description |
|---|---|
DeleteTagsRequest |
clone() |
boolean |
equals(Object obj) |
String |
getResourceName()
The Amazon Resource Name (ARN) from which you want to remove the tag
or tags.
|
List<String> |
getTagKeys()
The tag key that you want to delete.
|
int |
hashCode() |
void |
setResourceName(String resourceName)
The Amazon Resource Name (ARN) from which you want to remove the tag
or tags.
|
void |
setTagKeys(Collection<String> tagKeys)
The tag key that you want to delete.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteTagsRequest |
withResourceName(String resourceName)
The Amazon Resource Name (ARN) from which you want to remove the tag
or tags.
|
DeleteTagsRequest |
withTagKeys(Collection<String> tagKeys)
The tag key that you want to delete.
|
DeleteTagsRequest |
withTagKeys(String... tagKeys)
The tag key that you want to delete.
|
copyBaseTo, copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getResourceName()
arn:aws:redshift:us-east-1:123456789:cluster:t1.arn:aws:redshift:us-east-1:123456789:cluster:t1.public void setResourceName(String resourceName)
arn:aws:redshift:us-east-1:123456789:cluster:t1.resourceName - The Amazon Resource Name (ARN) from which you want to remove the tag
or tags. For example,
arn:aws:redshift:us-east-1:123456789:cluster:t1.public DeleteTagsRequest withResourceName(String resourceName)
arn:aws:redshift:us-east-1:123456789:cluster:t1.
Returns a reference to this object so that method calls can be chained together.
resourceName - The Amazon Resource Name (ARN) from which you want to remove the tag
or tags. For example,
arn:aws:redshift:us-east-1:123456789:cluster:t1.public List<String> getTagKeys()
public void setTagKeys(Collection<String> tagKeys)
tagKeys - The tag key that you want to delete.public DeleteTagsRequest 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 tag key that you want to delete.public DeleteTagsRequest withTagKeys(Collection<String> tagKeys)
Returns a reference to this object so that method calls can be chained together.
tagKeys - The tag key that you want to delete.public String toString()
toString in class ObjectObject.toString()public DeleteTagsRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2015. All rights reserved.