@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 |
clone() |
boolean |
equals(Object obj) |
String |
getResourceArn()
The Amazon Resource Name (ARN) of the resource's tags that you listed.
|
List<Tag> |
getTags()
A list of the resource's tags.
|
int |
hashCode() |
void |
setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resource's tags that you listed.
|
void |
setTags(Collection<Tag> tags)
A list of the resource's tags.
|
String |
toString()
Returns a string representation of this object.
|
ListTagsForResourceResult |
withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resource's tags that you listed.
|
ListTagsForResourceResult |
withTags(Collection<Tag> tags)
A list of the resource's tags.
|
ListTagsForResourceResult |
withTags(Tag... tags)
A list of the resource's tags.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resource's tags that you listed.
resourceArn
- The Amazon Resource Name (ARN) of the resource's tags that you listed.public String getResourceArn()
The Amazon Resource Name (ARN) of the resource's tags that you listed.
public ListTagsForResourceResult withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resource's tags that you listed.
resourceArn
- The Amazon Resource Name (ARN) of the resource's tags that you listed.public List<Tag> getTags()
A list of the resource's tags.
public void setTags(Collection<Tag> tags)
A list of the resource's tags.
tags
- A list of the resource's tags.public ListTagsForResourceResult withTags(Tag... tags)
A list of the resource's tags.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- A list of the resource's tags.public ListTagsForResourceResult withTags(Collection<Tag> tags)
A list of the resource's tags.
tags
- A list of the resource's tags.public String toString()
toString
in class Object
Object.toString()
public ListTagsForResourceResult clone()