public class DescribeTagsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
The result of the describe tags action.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<Tag> |
tagList
The list of tags.
|
Constructor and Description |
---|
DescribeTagsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeTagsResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<Tag> |
getTagList()
The list of tags.
|
int |
hashCode() |
void |
setTagList(java.util.Collection<Tag> tagList)
The list of tags.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeTagsResult |
withTagList(java.util.Collection<Tag> tagList)
The list of tags.
|
DescribeTagsResult |
withTagList(Tag... tagList)
The list of tags.
|
private SdkInternalList<Tag> tagList
The list of tags.
public java.util.List<Tag> getTagList()
The list of tags.
public void setTagList(java.util.Collection<Tag> tagList)
The list of tags.
tagList
- The list of tags.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)
or
withTagList(java.util.Collection)
if you want to override the
existing values.
tagList
- The list of tags.public DescribeTagsResult withTagList(java.util.Collection<Tag> tagList)
The list of tags.
tagList
- The list of tags.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeTagsResult clone()
clone
in class java.lang.Object