@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 pagination token for the list API.
|
List<Tag> |
getTags()
A set of key-value pairs that are used to manage the resource.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The pagination token for the list API.
|
void |
setTags(Collection<Tag> tags)
A set of key-value pairs that are used to manage the resource.
|
String |
toString()
Returns a string representation of this object.
|
ListTagsForResourceResult |
withNextToken(String nextToken)
The pagination token for the list API.
|
ListTagsForResourceResult |
withTags(Collection<Tag> tags)
A set of key-value pairs that are used to manage the resource.
|
ListTagsForResourceResult |
withTags(Tag... tags)
A set of key-value pairs that are used to manage the resource.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
The pagination token for the list API. Initially the value is null. Use the output of previous API calls to make subsequent calls.
nextToken
- The pagination token for the list API. Initially the value is null. Use the output of previous API calls
to make subsequent calls.public String getNextToken()
The pagination token for the list API. Initially the value is null. Use the output of previous API calls to make subsequent calls.
public ListTagsForResourceResult withNextToken(String nextToken)
The pagination token for the list API. Initially the value is null. Use the output of previous API calls to make subsequent calls.
nextToken
- The pagination token for the list API. Initially the value is null. Use the output of previous API calls
to make subsequent calls.public List<Tag> getTags()
A set of key-value pairs that are used to manage the resource.
public void setTags(Collection<Tag> tags)
A set of key-value pairs that are used to manage the resource.
tags
- A set of key-value pairs that are used to manage the resource.public ListTagsForResourceResult withTags(Tag... tags)
A set of key-value pairs that are used to manage 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
- A set of key-value pairs that are used to manage the resource.public ListTagsForResourceResult withTags(Collection<Tag> tags)
A set of key-value pairs that are used to manage the resource.
tags
- A set of key-value pairs that are used to manage the resource.public String toString()
toString
in class Object
Object.toString()
public ListTagsForResourceResult clone()