@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 ARN of the resource.
|
List<Tag> |
getTags()
An array of key and value pair tags that are associated with the resource.
|
int |
hashCode() |
void |
setResourceArn(String resourceArn)
The ARN of the resource.
|
void |
setTags(Collection<Tag> tags)
An array of key and value pair tags that are associated with the resource.
|
String |
toString()
Returns a string representation of this object.
|
ListTagsForResourceResult |
withResourceArn(String resourceArn)
The ARN of the resource.
|
ListTagsForResourceResult |
withTags(Collection<Tag> tags)
An array of key and value pair tags that are associated with the resource.
|
ListTagsForResourceResult |
withTags(Tag... tags)
An array of key and value pair tags that are associated with the resource.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setResourceArn(String resourceArn)
The ARN of the resource.
resourceArn - The ARN of the resource.public String getResourceArn()
The ARN of the resource.
public ListTagsForResourceResult withResourceArn(String resourceArn)
The ARN of the resource.
resourceArn - The ARN of the resource.public List<Tag> getTags()
An array of key and value pair tags that are associated with the resource.
public void setTags(Collection<Tag> tags)
An array of key and value pair tags that are associated with the resource.
tags - An array of key and value pair tags that are associated with the resource.public ListTagsForResourceResult withTags(Tag... tags)
An array of key and value pair tags that are associated with the resource.
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 - An array of key and value pair tags that are associated with the resource.public ListTagsForResourceResult withTags(Collection<Tag> tags)
An array of key and value pair tags that are associated with the resource.
tags - An array of key and value pair tags that are associated with the resource.public String toString()
toString in class ObjectObject.toString()public ListTagsForResourceResult clone()
Copyright © 2023. All rights reserved.