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