public class DescribeTagsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
nextToken
The token to use when requesting the next set of items.
|
private SdkInternalList<TagDescription> |
tags
One or more 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 when requesting the next set of items.
|
java.util.List<TagDescription> |
getTags()
One or more tags.
|
int |
hashCode() |
void |
setNextToken(java.lang.String nextToken)
The token to use when requesting the next set of items.
|
void |
setTags(java.util.Collection<TagDescription> tags)
One or more 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 when requesting the next set of items.
|
DescribeTagsResult |
withTags(java.util.Collection<TagDescription> tags)
One or more tags.
|
DescribeTagsResult |
withTags(TagDescription... tags)
One or more tags.
|
private SdkInternalList<TagDescription> tags
One or more tags.
private java.lang.String nextToken
The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
public java.util.List<TagDescription> getTags()
One or more tags.
public void setTags(java.util.Collection<TagDescription> tags)
One or more tags.
tags
- One or more tags.public DescribeTagsResult withTags(TagDescription... tags)
One or more 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
- One or more tags.public DescribeTagsResult withTags(java.util.Collection<TagDescription> tags)
One or more tags.
tags
- One or more tags.public void setNextToken(java.lang.String nextToken)
The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
nextToken
- The token to use when requesting the next set of items. If there
are no additional items to return, the string is empty.public java.lang.String getNextToken()
The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
public DescribeTagsResult withNextToken(java.lang.String nextToken)
The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
nextToken
- The token to use when requesting the next set of items. If there
are no additional items to return, the string is empty.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