@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 resouce for which a tag list was requested.
|
List<Tag> |
getResourceTags()
A list of tag key-value pairs.
|
int |
hashCode() |
void |
setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resouce for which a tag list was requested.
|
void |
setResourceTags(Collection<Tag> resourceTags)
A list of tag key-value pairs.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ListTagsForResourceResult |
withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resouce for which a tag list was requested.
|
ListTagsForResourceResult |
withResourceTags(Collection<Tag> resourceTags)
A list of tag key-value pairs.
|
ListTagsForResourceResult |
withResourceTags(Tag... resourceTags)
A list of tag key-value pairs.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resouce for which a tag list was requested.
resourceArn - The Amazon Resource Name (ARN) of the resouce for which a tag list was requested.public String getResourceArn()
The Amazon Resource Name (ARN) of the resouce for which a tag list was requested.
public ListTagsForResourceResult withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resouce for which a tag list was requested.
resourceArn - The Amazon Resource Name (ARN) of the resouce for which a tag list was requested.public List<Tag> getResourceTags()
A list of tag key-value pairs.
public void setResourceTags(Collection<Tag> resourceTags)
A list of tag key-value pairs.
resourceTags - A list of tag key-value pairs.public ListTagsForResourceResult withResourceTags(Tag... resourceTags)
A list of tag key-value pairs.
NOTE: This method appends the values to the existing list (if any). Use
setResourceTags(java.util.Collection) or withResourceTags(java.util.Collection) if you want to
override the existing values.
resourceTags - A list of tag key-value pairs.public ListTagsForResourceResult withResourceTags(Collection<Tag> resourceTags)
A list of tag key-value pairs.
resourceTags - A list of tag key-value pairs.public String toString()
toString in class ObjectObject.toString()public ListTagsForResourceResult clone()
Copyright © 2018. All rights reserved.