@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListTagsForResourceResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListTagsForResourceResult() |
Modifier and Type | Method and Description |
---|---|
ListTagsForResourceResult |
clone() |
boolean |
equals(Object obj) |
List<Tag> |
getTags()
A map of the key-value pairs for the tag or tags assigned to the specified resource.
|
int |
hashCode() |
void |
setTags(Collection<Tag> tags)
A map of the key-value pairs for the tag or tags assigned to the specified resource.
|
String |
toString()
Returns a string representation of this object.
|
ListTagsForResourceResult |
withTags(Collection<Tag> tags)
A map of the key-value pairs for the tag or tags assigned to the specified resource.
|
ListTagsForResourceResult |
withTags(Tag... tags)
A map of the key-value pairs for the tag or tags assigned to the specified resource.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Tag> getTags()
A map of the key-value pairs for the tag or tags assigned to the specified resource.
public void setTags(Collection<Tag> tags)
A map of the key-value pairs for the tag or tags assigned to the specified resource.
tags
- A map of the key-value pairs for the tag or tags assigned to the specified resource.public ListTagsForResourceResult withTags(Tag... tags)
A map of the key-value pairs for the tag or tags assigned to the specified resource.
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 map of the key-value pairs for the tag or tags assigned to the specified resource.public ListTagsForResourceResult withTags(Collection<Tag> tags)
A map of the key-value pairs for the tag or tags assigned to the specified resource.
tags
- A map of the key-value pairs for the tag or tags assigned to the specified resource.public String toString()
toString
in class Object
Object.toString()
public ListTagsForResourceResult clone()