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