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()
The tags.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token to use when requesting the next set of items.
|
void |
setTags(Collection<TagDescription> tags)
The 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)
The tags.
|
DescribeTagsResult |
withTags(TagDescription... tags)
The tags.
|
public List<TagDescription> getTags()
public void setTags(Collection<TagDescription> tags)
tags - The tags.public DescribeTagsResult withTags(TagDescription... 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.
Returns a reference to this object so that method calls can be chained together.
tags - The tags.public DescribeTagsResult withTags(Collection<TagDescription> tags)
Returns a reference to this object so that method calls can be chained together.
tags - The tags.public String getNextToken()
Constraints:
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
public void setNextToken(String nextToken)
Constraints:
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
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 DescribeTagsResult withNextToken(String nextToken)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
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 ObjectObject.toString()public DescribeTagsResult clone()
Copyright © 2015. All rights reserved.