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> |
tags
A collection of key and value pairs.
|
Constructor and Description |
---|
ListTagsForResourceResult() |
Modifier and Type | Method and Description |
---|---|
ListTagsForResourceResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<Tag> |
getTags()
A collection of key and value pairs.
|
int |
hashCode() |
void |
setTags(java.util.Collection<Tag> tags)
A collection of key and value pairs.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListTagsForResourceResult |
withTags(java.util.Collection<Tag> tags)
A collection of key and value pairs.
|
ListTagsForResourceResult |
withTags(Tag... tags)
A collection of key and value pairs.
|
private java.util.List<Tag> tags
A collection of key and value pairs.
public java.util.List<Tag> getTags()
A collection of key and value pairs.
public void setTags(java.util.Collection<Tag> tags)
A collection of key and value pairs.
tags
- A collection of key and value pairs.public ListTagsForResourceResult withTags(Tag... tags)
A collection of key and value pairs.
NOTE: This method appends the values to the existing list (if
any). Use setTags(java.util.Collection)
or
withTags(java.util.Collection)
if you want to override the
existing values.
tags
- A collection of key and value pairs.public ListTagsForResourceResult withTags(java.util.Collection<Tag> tags)
A collection of key and value pairs.
tags
- A collection of key and value pairs.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