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