@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()
A string that indicates that the response contains more items than can be returned in a single response.
|
List<TagDescription> |
getTags()
One or more tags.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
A string that indicates that the response contains more items than can be returned in a single response.
|
void |
setTags(Collection<TagDescription> tags)
One or more tags.
|
String |
toString()
Returns a string representation of this object.
|
DescribeTagsResult |
withNextToken(String nextToken)
A string that indicates that the response contains more items than can be returned in a single response.
|
DescribeTagsResult |
withTags(Collection<TagDescription> tags)
One or more tags.
|
DescribeTagsResult |
withTags(TagDescription... tags)
One or more tags.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
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)
A string that indicates that the response contains more items than can be returned in a single response. To
receive additional items, specify this string for the NextToken
value when requesting the next set
of items. This value is null when there are no more items to return.
nextToken
- A string that indicates that the response contains more items than can be returned in a single response.
To receive additional items, specify this string for the NextToken
value when requesting the
next set of items. This value is null when there are no more items to return.public String getNextToken()
A string that indicates that the response contains more items than can be returned in a single response. To
receive additional items, specify this string for the NextToken
value when requesting the next set
of items. This value is null when there are no more items to return.
NextToken
value when requesting the
next set of items. This value is null when there are no more items to return.public DescribeTagsResult withNextToken(String nextToken)
A string that indicates that the response contains more items than can be returned in a single response. To
receive additional items, specify this string for the NextToken
value when requesting the next set
of items. This value is null when there are no more items to return.
nextToken
- A string that indicates that the response contains more items than can be returned in a single response.
To receive additional items, specify this string for the NextToken
value when requesting the
next set of items. This value is null when there are no more items to return.public String toString()
toString
in class Object
Object.toString()
public DescribeTagsResult clone()
Copyright © 2019. All rights reserved.