@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RemoveTagsFromResourceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input of a RemoveTagsFromResource
operation.
NOOP
Constructor and Description |
---|
RemoveTagsFromResourceRequest() |
Modifier and Type | Method and Description |
---|---|
RemoveTagsFromResourceRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getResourceName()
The Amazon Resource Name (ARN) of the resource from which you want the tags removed, for example
arn:aws:elasticache:us-west-2:0123456789:cluster:myCluster or
arn:aws:elasticache:us-west-2:0123456789:snapshot:mySnapshot . |
List<String> |
getTagKeys()
A list of
TagKeys identifying the tags you want removed from the named resource. |
int |
hashCode() |
void |
setResourceName(String resourceName)
The Amazon Resource Name (ARN) of the resource from which you want the tags removed, for example
arn:aws:elasticache:us-west-2:0123456789:cluster:myCluster or
arn:aws:elasticache:us-west-2:0123456789:snapshot:mySnapshot . |
void |
setTagKeys(Collection<String> tagKeys)
A list of
TagKeys identifying the tags you want removed from the named resource. |
String |
toString()
Returns a string representation of this object.
|
RemoveTagsFromResourceRequest |
withResourceName(String resourceName)
The Amazon Resource Name (ARN) of the resource from which you want the tags removed, for example
arn:aws:elasticache:us-west-2:0123456789:cluster:myCluster or
arn:aws:elasticache:us-west-2:0123456789:snapshot:mySnapshot . |
RemoveTagsFromResourceRequest |
withTagKeys(Collection<String> tagKeys)
A list of
TagKeys identifying the tags you want removed from the named resource. |
RemoveTagsFromResourceRequest |
withTagKeys(String... tagKeys)
A list of
TagKeys identifying the tags you want removed from the named 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 void setResourceName(String resourceName)
The Amazon Resource Name (ARN) of the resource from which you want the tags removed, for example
arn:aws:elasticache:us-west-2:0123456789:cluster:myCluster
or
arn:aws:elasticache:us-west-2:0123456789:snapshot:mySnapshot
.
For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Service Namespaces.
resourceName
- The Amazon Resource Name (ARN) of the resource from which you want the tags removed, for example
arn:aws:elasticache:us-west-2:0123456789:cluster:myCluster
or
arn:aws:elasticache:us-west-2:0123456789:snapshot:mySnapshot
.
For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Service Namespaces.
public String getResourceName()
The Amazon Resource Name (ARN) of the resource from which you want the tags removed, for example
arn:aws:elasticache:us-west-2:0123456789:cluster:myCluster
or
arn:aws:elasticache:us-west-2:0123456789:snapshot:mySnapshot
.
For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Service Namespaces.
arn:aws:elasticache:us-west-2:0123456789:cluster:myCluster
or
arn:aws:elasticache:us-west-2:0123456789:snapshot:mySnapshot
.
For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Service Namespaces.
public RemoveTagsFromResourceRequest withResourceName(String resourceName)
The Amazon Resource Name (ARN) of the resource from which you want the tags removed, for example
arn:aws:elasticache:us-west-2:0123456789:cluster:myCluster
or
arn:aws:elasticache:us-west-2:0123456789:snapshot:mySnapshot
.
For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Service Namespaces.
resourceName
- The Amazon Resource Name (ARN) of the resource from which you want the tags removed, for example
arn:aws:elasticache:us-west-2:0123456789:cluster:myCluster
or
arn:aws:elasticache:us-west-2:0123456789:snapshot:mySnapshot
.
For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Service Namespaces.
public List<String> getTagKeys()
A list of TagKeys
identifying the tags you want removed from the named resource.
TagKeys
identifying the tags you want removed from the named resource.public void setTagKeys(Collection<String> tagKeys)
A list of TagKeys
identifying the tags you want removed from the named resource.
tagKeys
- A list of TagKeys
identifying the tags you want removed from the named resource.public RemoveTagsFromResourceRequest withTagKeys(String... tagKeys)
A list of TagKeys
identifying the tags you want removed from the named 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 TagKeys
identifying the tags you want removed from the named resource.public RemoveTagsFromResourceRequest withTagKeys(Collection<String> tagKeys)
A list of TagKeys
identifying the tags you want removed from the named resource.
tagKeys
- A list of TagKeys
identifying the tags you want removed from the named resource.public String toString()
toString
in class Object
Object.toString()
public RemoveTagsFromResourceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()