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