public class ListTagsForResourceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
ListTagsForResource operation
.
The ListTagsForResource action lists all cost allocation tags currently on the named resource. A cost allocation tag is a key-value pair where the key is case-sensitive and the value is optional. Cost allocation tags can be used to categorize and track your AWS costs.
You can have a maximum of 10 cost allocation tags on an ElastiCache resource. For more information, see Using Cost Allocation Tags in Amazon ElastiCache .
NOOP
Constructor and Description |
---|
ListTagsForResourceRequest() |
Modifier and Type | Method and Description |
---|---|
ListTagsForResourceRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getResourceName()
The name of the resource for which you want the list of tags, for
example
arn:aws:elasticache:us-west-2:0123456789:cluster:myCluster . |
int |
hashCode() |
void |
setResourceName(String resourceName)
The name of the resource for which you want the list of tags, for
example
arn:aws:elasticache:us-west-2:0123456789:cluster:myCluster . |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListTagsForResourceRequest |
withResourceName(String resourceName)
The name of the resource for which you want the list of tags, for
example
arn:aws:elasticache:us-west-2:0123456789:cluster:myCluster . |
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public String getResourceName()
arn:aws:elasticache:us-west-2:0123456789:cluster:myCluster
.arn:aws:elasticache:us-west-2:0123456789:cluster:myCluster
.public void setResourceName(String resourceName)
arn:aws:elasticache:us-west-2:0123456789:cluster:myCluster
.resourceName
- The name of the resource for which you want the list of tags, for
example
arn:aws:elasticache:us-west-2:0123456789:cluster:myCluster
.public ListTagsForResourceRequest withResourceName(String resourceName)
arn:aws:elasticache:us-west-2:0123456789:cluster:myCluster
.
Returns a reference to this object so that method calls can be chained together.
resourceName
- The name of the resource for which you want the list of tags, for
example
arn:aws:elasticache:us-west-2:0123456789:cluster:myCluster
.public String toString()
toString
in class Object
Object.toString()
public ListTagsForResourceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.