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