public class ListTagsForResourceResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<Tag> |
tagList
List of tags returned by the ListTagsForResource operation.
|
Constructor and Description |
---|
ListTagsForResourceResult() |
Modifier and Type | Method and Description |
---|---|
ListTagsForResourceResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<Tag> |
getTagList()
List of tags returned by the ListTagsForResource operation.
|
int |
hashCode() |
void |
setTagList(java.util.Collection<Tag> tagList)
List of tags returned by the ListTagsForResource operation.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListTagsForResourceResult |
withTagList(java.util.Collection<Tag> tagList)
List of tags returned by the ListTagsForResource operation.
|
ListTagsForResourceResult |
withTagList(Tag... tagList)
List of tags returned by the ListTagsForResource operation.
|
private SdkInternalList<Tag> tagList
List of tags returned by the ListTagsForResource operation.
public java.util.List<Tag> getTagList()
List of tags returned by the ListTagsForResource operation.
public void setTagList(java.util.Collection<Tag> tagList)
List of tags returned by the ListTagsForResource operation.
tagList
- List of tags returned by the ListTagsForResource operation.public ListTagsForResourceResult withTagList(Tag... tagList)
List of tags returned by the ListTagsForResource operation.
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
- List of tags returned by the ListTagsForResource operation.public ListTagsForResourceResult withTagList(java.util.Collection<Tag> tagList)
List of tags returned by the ListTagsForResource operation.
tagList
- List of tags returned by the ListTagsForResource operation.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 ListTagsForResourceResult clone()
clone
in class java.lang.Object