Class ListTagsForResourceResult
java.lang.Object
com.amazonaws.services.elasticache.model.ListTagsForResourceResult
- All Implemented Interfaces:
Serializable
,Cloneable
Represents the output from the AddTagsToResource, ListTagsOnResource, and RemoveTagsFromResource actions.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
A list of cost allocation tags as key-value pairs.int
hashCode()
void
setTagList
(Collection<Tag> tagList) A list of cost allocation tags as key-value pairs.toString()
Returns a string representation of this object; useful for testing and debugging.withTagList
(Tag... tagList) A list of cost allocation tags as key-value pairs.withTagList
(Collection<Tag> tagList) A list of cost allocation tags as key-value pairs.
-
Constructor Details
-
ListTagsForResourceResult
public ListTagsForResourceResult()
-
-
Method Details
-
getTagList
A list of cost allocation tags as key-value pairs.
- Returns:
- A list of cost allocation tags as key-value pairs.
-
setTagList
A list of cost allocation tags as key-value pairs.
- Parameters:
tagList
- A list of cost allocation tags as key-value pairs.
-
withTagList
A list of cost allocation tags as key-value pairs.
NOTE: This method appends the values to the existing list (if any). Use
setTagList(java.util.Collection)
orwithTagList(java.util.Collection)
if you want to override the existing values.- Parameters:
tagList
- A list of cost allocation tags as key-value pairs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withTagList
A list of cost allocation tags as key-value pairs.
- Parameters:
tagList
- A list of cost allocation tags as key-value pairs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-