Class ListTagsForResourceResult
- java.lang.Object
-
- com.amazonaws.services.cloudhsm.model.ListTagsForResourceResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class ListTagsForResourceResult extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListTagsForResourceResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListTagsForResourceResult
clone()
boolean
equals(Object obj)
List<Tag>
getTagList()
One or more tags.int
hashCode()
void
setTagList(Collection<Tag> tagList)
One or more tags.String
toString()
Returns a string representation of this object; useful for testing and debugging.ListTagsForResourceResult
withTagList(Tag... tagList)
One or more tags.ListTagsForResourceResult
withTagList(Collection<Tag> tagList)
One or more tags.
-
-
-
Method Detail
-
setTagList
public void setTagList(Collection<Tag> tagList)
One or more tags.
- Parameters:
tagList
- One or more tags.
-
withTagList
public ListTagsForResourceResult withTagList(Tag... tagList)
One or more tags.
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
- One or more tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withTagList
public ListTagsForResourceResult withTagList(Collection<Tag> tagList)
One or more tags.
- Parameters:
tagList
- One or more tags.- 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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListTagsForResourceResult clone()
-
-