public class DescribeTagsResult extends Object implements Serializable, Cloneable
Contains the output of DescribeTags.
Constructor and Description |
---|
DescribeTagsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeTagsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token to use to retrieve the next page of results.
|
List<TagDescription> |
getTags()
A list of tags.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
void |
setTags(Collection<TagDescription> tags)
A list of tags.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeTagsResult |
withNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
DescribeTagsResult |
withTags(Collection<TagDescription> tags)
A list of tags.
|
DescribeTagsResult |
withTags(TagDescription... tags)
A list of tags.
|
public List<TagDescription> getTags()
A list of tags.
public void setTags(Collection<TagDescription> tags)
A list of tags.
tags
- A list of tags.public DescribeTagsResult withTags(TagDescription... tags)
A list of tags.
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 tags.public DescribeTagsResult withTags(Collection<TagDescription> tags)
A list of tags.
tags
- A list of tags.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..
null
when there are no more results to return..public DescribeTagsResult 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 Object
Object.toString()
public DescribeTagsResult clone()
Copyright © 2018. All rights reserved.