@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 |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
ListTagsForResourceResult |
clearTagsEntries()
Removes all the entries added into Tags.
|
ListTagsForResourceResult |
clone() |
boolean |
equals(Object obj) |
Map<String,String> |
getTags()
A map of of key-value pairs that represent tags on a resource.
|
int |
hashCode() |
void |
setTags(Map<String,String> tags)
A map of of key-value pairs that represent tags on a resource.
|
String |
toString()
Returns a string representation of this object.
|
ListTagsForResourceResult |
withTags(Map<String,String> tags)
A map of of key-value pairs that represent tags on a resource.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public Map<String,String> getTags()
A map of of key-value pairs that represent tags on a resource. Tags are used to organize, track, or control access for this resource.
public void setTags(Map<String,String> tags)
A map of of key-value pairs that represent tags on a resource. Tags are used to organize, track, or control access for this resource.
tags
- A map of of key-value pairs that represent tags on a resource. Tags are used to organize, track, or
control access for this resource.public ListTagsForResourceResult withTags(Map<String,String> tags)
A map of of key-value pairs that represent tags on a resource. Tags are used to organize, track, or control access for this resource.
tags
- A map of of key-value pairs that represent tags on a resource. Tags are used to organize, track, or
control access for this resource.public ListTagsForResourceResult addTagsEntry(String key, String value)
public ListTagsForResourceResult clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public ListTagsForResourceResult clone()