@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) |
GetTagsResult |
clearTagsEntries()
Removes all the entries added into Tags.
|
GetTagsResult |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The ARN of the tagged resource.
|
Map<String,String> |
getTags()
The tags associated with the specified resource.
|
int |
hashCode() |
void |
setArn(String arn)
The ARN of the tagged resource.
|
void |
setTags(Map<String,String> tags)
The tags associated with the specified resource.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
GetTagsResult |
withArn(String arn)
The ARN of the tagged resource.
|
GetTagsResult |
withTags(Map<String,String> tags)
The tags associated with the specified resource.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic 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 GetTagsResult withArn(String arn)
The ARN of the tagged resource.
arn - The ARN of the tagged resource.public Map<String,String> getTags()
The tags associated with the specified resource.
public void setTags(Map<String,String> tags)
The tags associated with the specified resource.
tags - The tags associated with the specified resource.public GetTagsResult withTags(Map<String,String> tags)
The tags associated with the specified resource.
tags - The tags associated with the specified resource.public GetTagsResult addTagsEntry(String key, String value)
public GetTagsResult clearTagsEntries()
public String toString()
toString in class ObjectObject.toString()public GetTagsResult clone()
Copyright © 2018. All rights reserved.