public class DescribeTagsResult extends Object implements Serializable, Cloneable
Constructor and Description |
---|
DescribeTagsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeTagsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token to use when requesting the next set of items.
|
List<TagDescription> |
getTags()
One or more tags.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token to use when requesting the next set of items.
|
void |
setTags(Collection<TagDescription> tags)
One or more tags.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeTagsResult |
withNextToken(String nextToken)
The token to use when requesting the next set of items.
|
DescribeTagsResult |
withTags(Collection<TagDescription> tags)
One or more tags.
|
DescribeTagsResult |
withTags(TagDescription... tags)
One or more tags.
|
public List<TagDescription> getTags()
One or more tags.
public void setTags(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(Collection<TagDescription> tags)
One or more tags.
tags
- One or more tags.public void setNextToken(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 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(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 String toString()
toString
in class Object
Object.toString()
public DescribeTagsResult clone()
Copyright © 2018. All rights reserved.