@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) |
List<Tag> |
getTags()
The list of tag keys and values associated with the rule that you specified.
|
int |
hashCode() |
void |
setTags(Collection<Tag> tags)
The list of tag keys and values associated with the rule that you specified.
|
String |
toString()
Returns a string representation of this object.
|
ListTagsForResourceResult |
withTags(Collection<Tag> tags)
The list of tag keys and values associated with the rule that you specified.
|
ListTagsForResourceResult |
withTags(Tag... tags)
The list of tag keys and values associated with the rule that you specified.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<Tag> getTags()
The list of tag keys and values associated with the rule that you specified.
public void setTags(Collection<Tag> tags)
The list of tag keys and values associated with the rule that you specified.
tags - The list of tag keys and values associated with the rule that you specified.public ListTagsForResourceResult withTags(Tag... tags)
The list of tag keys and values associated with the rule that you specified.
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 - The list of tag keys and values associated with the rule that you specified.public ListTagsForResourceResult withTags(Collection<Tag> tags)
The list of tag keys and values associated with the rule that you specified.
tags - The list of tag keys and values associated with the rule that you specified.public String toString()
toString in class ObjectObject.toString()public ListTagsForResourceResult clone()
Copyright © 2020. All rights reserved.