@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()
Tags that have been applied to the specified resource.
|
int |
hashCode() |
void |
setTags(Map<String,String> tags)
Tags that have been applied to the specified resource.
|
String |
toString()
Returns a string representation of this object.
|
ListTagsForResourceResult |
withTags(Map<String,String> tags)
Tags that have been applied to the specified resource.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic Map<String,String> getTags()
Tags that have been applied to the specified resource. Tags are mapped from the tag key to the tag value:
"TagKey" : "TagValue".
Format example: {"tag1" : "value1", "tag2" : "value2"}
"TagKey" : "TagValue".
Format example: {"tag1" : "value1", "tag2" : "value2"}
public void setTags(Map<String,String> tags)
Tags that have been applied to the specified resource. Tags are mapped from the tag key to the tag value:
"TagKey" : "TagValue".
Format example: {"tag1" : "value1", "tag2" : "value2"}
tags - Tags that have been applied to the specified resource. Tags are mapped from the tag key to the tag value:
"TagKey" : "TagValue".
Format example: {"tag1" : "value1", "tag2" : "value2"}
public ListTagsForResourceResult withTags(Map<String,String> tags)
Tags that have been applied to the specified resource. Tags are mapped from the tag key to the tag value:
"TagKey" : "TagValue".
Format example: {"tag1" : "value1", "tag2" : "value2"}
tags - Tags that have been applied to the specified resource. Tags are mapped from the tag key to the tag value:
"TagKey" : "TagValue".
Format example: {"tag1" : "value1", "tag2" : "value2"}
public ListTagsForResourceResult addTagsEntry(String key, String value)
public ListTagsForResourceResult clearTagsEntries()
public String toString()
toString in class ObjectObject.toString()public ListTagsForResourceResult clone()
Copyright © 2021. All rights reserved.