public class DeleteTagsRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Contains the output from the DeleteTags
action.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
resourceName
The Amazon Resource Name (ARN) from which you want to remove the tag or
tags.
|
private SdkInternalList<java.lang.String> |
tagKeys
The tag key that you want to delete.
|
NOOP
Constructor and Description |
---|
DeleteTagsRequest() |
Modifier and Type | Method and Description |
---|---|
DeleteTagsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getResourceName()
The Amazon Resource Name (ARN) from which you want to remove the tag or
tags.
|
java.util.List<java.lang.String> |
getTagKeys()
The tag key that you want to delete.
|
int |
hashCode() |
void |
setResourceName(java.lang.String resourceName)
The Amazon Resource Name (ARN) from which you want to remove the tag or
tags.
|
void |
setTagKeys(java.util.Collection<java.lang.String> tagKeys)
The tag key that you want to delete.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteTagsRequest |
withResourceName(java.lang.String resourceName)
The Amazon Resource Name (ARN) from which you want to remove the tag or
tags.
|
DeleteTagsRequest |
withTagKeys(java.util.Collection<java.lang.String> tagKeys)
The tag key that you want to delete.
|
DeleteTagsRequest |
withTagKeys(java.lang.String... tagKeys)
The tag key that you want to delete.
|
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 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
.
private SdkInternalList<java.lang.String> tagKeys
The tag key that you want to delete.
public void setResourceName(java.lang.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
.
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 java.lang.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
.
arn:aws:redshift:us-east-1:123456789:cluster:t1
.public DeleteTagsRequest withResourceName(java.lang.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
.
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 java.util.List<java.lang.String> getTagKeys()
The tag key that you want to delete.
public void setTagKeys(java.util.Collection<java.lang.String> tagKeys)
The tag key that you want to delete.
tagKeys
- The tag key that you want to delete.public DeleteTagsRequest withTagKeys(java.lang.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)
or
withTagKeys(java.util.Collection)
if you want to override the
existing values.
tagKeys
- The tag key that you want to delete.public DeleteTagsRequest withTagKeys(java.util.Collection<java.lang.String> tagKeys)
The tag key that you want to delete.
tagKeys
- The tag key that you want to delete.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 DeleteTagsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()