@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeTagsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeTagsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeTagsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token to include in another request to get the next page of items.
|
List<TagDescription> |
getTags()
The tags.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token to include in another request to get the next page of items.
|
void |
setTags(Collection<TagDescription> tags)
The tags.
|
String |
toString()
Returns a string representation of this object.
|
DescribeTagsResult |
withNextToken(String nextToken)
The token to include in another request to get the next page of items.
|
DescribeTagsResult |
withTags(Collection<TagDescription> tags)
The tags.
|
DescribeTagsResult |
withTags(TagDescription... tags)
The tags.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
The token to include in another request to get the next page of items. This value is null
when there
are no more items to return.
nextToken
- The token to include in another request to get the next page of items. This value is null
when there are no more items to return.public String getNextToken()
The token to include in another request to get the next page of items. This value is null
when there
are no more items to return.
null
when there are no more items to return.public DescribeTagsResult withNextToken(String nextToken)
The token to include in another request to get the next page of items. This value is null
when there
are no more items to return.
nextToken
- The token to include in another request to get the next page of items. This value is null
when there are no more items to return.public List<TagDescription> getTags()
The tags.
public void setTags(Collection<TagDescription> tags)
The tags.
tags
- The tags.public DescribeTagsResult withTags(TagDescription... tags)
The 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
- The tags.public DescribeTagsResult withTags(Collection<TagDescription> tags)
The tags.
tags
- The tags.public String toString()
toString
in class Object
Object.toString()
public DescribeTagsResult clone()