@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListTagsForResourceResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Represents the output of ListTagsForResource.
Constructor and Description |
---|
ListTagsForResourceResult() |
Modifier and Type | Method and Description |
---|---|
ListTagsForResourceResult |
clone() |
boolean |
equals(Object obj) |
List<Tag> |
getTagList()
A list of one or more tags.
|
int |
hashCode() |
void |
setTagList(Collection<Tag> tagList)
A list of one or more tags.
|
String |
toString()
Returns a string representation of this object.
|
ListTagsForResourceResult |
withTagList(Collection<Tag> tagList)
A list of one or more tags.
|
ListTagsForResourceResult |
withTagList(Tag... tagList)
A list of one or more tags.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Tag> getTagList()
A list of one or more tags.
public void setTagList(Collection<Tag> tagList)
A list of one or more tags.
tagList
- A list of one or more tags.public ListTagsForResourceResult withTagList(Tag... tagList)
A list of 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
- A list of one or more tags.public ListTagsForResourceResult withTagList(Collection<Tag> tagList)
A list of one or more tags.
tagList
- A list of one or more tags.public String toString()
toString
in class Object
Object.toString()
public ListTagsForResourceResult clone()