@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TagResourceResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
TagResourceResult() |
Modifier and Type | Method and Description |
---|---|
TagResourceResult |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
TagResourceResult |
clearTagsEntries()
Removes all the entries added into Tags.
|
TagResourceResult |
clone() |
boolean |
equals(Object obj) |
Map<String,String> |
getTags()
The list of tags associated with the resource.
|
int |
hashCode() |
void |
setTags(Map<String,String> tags)
The list of tags associated with the resource.
|
String |
toString()
Returns a string representation of this object.
|
TagResourceResult |
withTags(Map<String,String> tags)
The list of tags associated with the resource.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public Map<String,String> getTags()
The list of tags associated with the resource.
public void setTags(Map<String,String> tags)
The list of tags associated with the resource.
tags
- The list of tags associated with the resource.public TagResourceResult withTags(Map<String,String> tags)
The list of tags associated with the resource.
tags
- The list of tags associated with the resource.public TagResourceResult addTagsEntry(String key, String value)
public TagResourceResult clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public TagResourceResult clone()