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