@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 to use to retrieve the next page of results.
|
List<Tag> |
getTags()
A list of tag key value pairs that are associated with the response.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
void |
setTags(Collection<Tag> tags)
A list of tag key value pairs that are associated with the response.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ListTagsForResourceResult |
withNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
ListTagsForResourceResult |
withTags(Collection<Tag> tags)
A list of tag key value pairs that are associated with the response.
|
ListTagsForResourceResult |
withTags(Tag... tags)
A list of tag key value pairs that are associated with the response.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<Tag> getTags()
A list of tag key value pairs that are associated with the response.
public void setTags(Collection<Tag> tags)
A list of tag key value pairs that are associated with the response.
tags - A list of tag key value pairs that are associated with the response.public ListTagsForResourceResult withTags(Tag... tags)
A list of tag key value pairs that are associated with the response.
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 tag key value pairs that are associated with the response.public ListTagsForResourceResult withTags(Collection<Tag> tags)
A list of tag key value pairs that are associated with the response.
tags - A list of tag key value pairs that are associated with the response.public void setNextToken(String nextToken)
The token to use to retrieve the next page of results. This value is null when there are no more results to return.
nextToken - The token to use to retrieve the next page of results. This value is null when there are no more results
to return.public String getNextToken()
The token to use to retrieve the next page of results. This value is null when there are no more results to return.
public ListTagsForResourceResult withNextToken(String nextToken)
The token to use to retrieve the next page of results. This value is null when there are no more results to return.
nextToken - The token to use to retrieve the next page of results. This value is null when there are no more results
to return.public String toString()
toString in class ObjectObject.toString()public ListTagsForResourceResult clone()
Copyright © 2018. All rights reserved.