public class DescribeTagsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the output of DescribeTags.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
nextToken
The token to use to retrieve the next page of results.
|
private SdkInternalList<TagDescription> |
tags
A list of tags.
|
Constructor and Description |
---|
DescribeTagsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeTagsResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getNextToken()
The token to use to retrieve the next page of results.
|
java.util.List<TagDescription> |
getTags()
A list of tags.
|
int |
hashCode() |
void |
setNextToken(java.lang.String nextToken)
The token to use to retrieve the next page of results.
|
void |
setTags(java.util.Collection<TagDescription> tags)
A list of tags.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeTagsResult |
withNextToken(java.lang.String nextToken)
The token to use to retrieve the next page of results.
|
DescribeTagsResult |
withTags(java.util.Collection<TagDescription> tags)
A list of tags.
|
DescribeTagsResult |
withTags(TagDescription... tags)
A list of tags.
|
private SdkInternalList<TagDescription> tags
A list of tags.
private java.lang.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..
public java.util.List<TagDescription> getTags()
A list of tags.
public void setTags(java.util.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(java.util.Collection<TagDescription> tags)
A list of tags.
tags
- A list of tags.public void setNextToken(java.lang.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 java.lang.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(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeTagsResult clone()
clone
in class java.lang.Object