@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 |
getNextToken()
The token that specifies the next page of results to return.
|
List<Tag> |
getTags()
List of tags returned by the
ListTagsForResource operation. |
int |
hashCode() |
void |
setNextToken(String nextToken)
The token that specifies the next page of results to return.
|
void |
setTags(Collection<Tag> tags)
List of tags returned by the
ListTagsForResource operation. |
String |
toString()
Returns a string representation of this object.
|
ListTagsForResourceResult |
withNextToken(String nextToken)
The token that specifies the next page of results to return.
|
ListTagsForResourceResult |
withTags(Collection<Tag> tags)
List of tags returned by the
ListTagsForResource operation. |
ListTagsForResourceResult |
withTags(Tag... tags)
List of tags returned by the
ListTagsForResource operation. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<Tag> getTags()
List of tags returned by the ListTagsForResource operation.
ListTagsForResource operation.public void setTags(Collection<Tag> tags)
List of tags returned by the ListTagsForResource operation.
tags - List of tags returned by the ListTagsForResource operation.public ListTagsForResourceResult withTags(Tag... tags)
List of tags returned by the ListTagsForResource operation.
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 - List of tags returned by the ListTagsForResource operation.public ListTagsForResourceResult withTags(Collection<Tag> tags)
List of tags returned by the ListTagsForResource operation.
tags - List of tags returned by the ListTagsForResource operation.public void setNextToken(String nextToken)
The token that specifies the next page of results to return.
nextToken - The token that specifies the next page of results to return.public String getNextToken()
The token that specifies the next page of results to return.
public ListTagsForResourceResult withNextToken(String nextToken)
The token that specifies the next page of results to return.
nextToken - The token that specifies the next page of results to return.public String toString()
toString in class ObjectObject.toString()public ListTagsForResourceResult clone()