@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) |
String |
getResourceArn()
The ARN of the resource that you are viewing.
|
Map<String,String> |
getTags()
The list of tag keys and values associated with the resource you specified.
|
int |
hashCode() |
void |
setResourceArn(String resourceArn)
The ARN of the resource that you are viewing.
|
void |
setTags(Map<String,String> tags)
The list of tag keys and values associated with the resource you specified.
|
String |
toString()
Returns a string representation of this object.
|
ListTagsForResourceResult |
withResourceArn(String resourceArn)
The ARN of the resource that you are viewing.
|
ListTagsForResourceResult |
withTags(Map<String,String> tags)
The list of tag keys and values associated with the resource you specified.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setResourceArn(String resourceArn)
The ARN of the resource that you are viewing.
resourceArn
- The ARN of the resource that you are viewing.public String getResourceArn()
The ARN of the resource that you are viewing.
public ListTagsForResourceResult withResourceArn(String resourceArn)
The ARN of the resource that you are viewing.
resourceArn
- The ARN of the resource that you are viewing.public Map<String,String> getTags()
The list of tag keys and values associated with the resource you specified.
public void setTags(Map<String,String> tags)
The list of tag keys and values associated with the resource you specified.
tags
- The list of tag keys and values associated with the resource you specified.public ListTagsForResourceResult withTags(Map<String,String> tags)
The list of tag keys and values associated with the resource you specified.
tags
- The list of tag keys and values associated with the resource you specified.public ListTagsForResourceResult addTagsEntry(String key, String value)
public ListTagsForResourceResult clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public ListTagsForResourceResult clone()