Class DeleteTagsRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.redshift.model.DeleteTagsRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class DeleteTagsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Contains the output from the
DeleteTagsaction.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description DeleteTagsRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeleteTagsRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetResourceName()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.inthashCode()voidsetResourceName(String resourceName)The Amazon Resource Name (ARN) from which you want to remove the tag or tags.voidsetTagKeys(Collection<String> tagKeys)The tag key that you want to delete.StringtoString()Returns a string representation of this object; useful for testing and debugging.DeleteTagsRequestwithResourceName(String resourceName)The Amazon Resource Name (ARN) from which you want to remove the tag or tags.DeleteTagsRequestwithTagKeys(String... tagKeys)The tag key that you want to delete.DeleteTagsRequestwithTagKeys(Collection<String> tagKeys)The tag key that you want to delete.-
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
-
-
-
-
Method Detail
-
setResourceName
public void setResourceName(String 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.- Parameters:
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.
-
getResourceName
public String getResourceName()
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.- Returns:
- 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.
-
withResourceName
public DeleteTagsRequest withResourceName(String 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.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getTagKeys
public List<String> getTagKeys()
The tag key that you want to delete.
- Returns:
- The tag key that you want to delete.
-
setTagKeys
public void setTagKeys(Collection<String> tagKeys)
The tag key that you want to delete.
- Parameters:
tagKeys- The tag key that you want to delete.
-
withTagKeys
public DeleteTagsRequest withTagKeys(String... tagKeys)
The tag key that you want to delete.
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- The tag key that you want to delete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withTagKeys
public DeleteTagsRequest withTagKeys(Collection<String> tagKeys)
The tag key that you want to delete.
- Parameters:
tagKeys- The tag key that you want to delete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DeleteTagsRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-