@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListTagsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ListTagsResult() |
| Modifier and Type | Method and Description |
|---|---|
ListTagsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
An opaque string that indicates that the response contains only a subset of tags.
|
List<Tag> |
getTagList()
A list of tags.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
An opaque string that indicates that the response contains only a subset of tags.
|
void |
setTagList(Collection<Tag> tagList)
A list of tags.
|
String |
toString()
Returns a string representation of this object.
|
ListTagsResult |
withNextToken(String nextToken)
An opaque string that indicates that the response contains only a subset of tags.
|
ListTagsResult |
withTagList(Collection<Tag> tagList)
A list of tags.
|
ListTagsResult |
withTagList(Tag... tagList)
A list of tags.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setTagList(Collection<Tag> tagList)
A list of tags.
tagList - A list of tags.public ListTagsResult withTagList(Tag... tagList)
A list of tags.
NOTE: This method appends the values to the existing list (if any). Use
setTagList(java.util.Collection) or withTagList(java.util.Collection) if you want to override
the existing values.
tagList - A list of tags.public ListTagsResult withTagList(Collection<Tag> tagList)
A list of tags.
tagList - A list of tags.public void setNextToken(String nextToken)
An opaque string that indicates that the response contains only a subset of tags. Use this value in a subsequent
ListTags request to get more tags.
nextToken - An opaque string that indicates that the response contains only a subset of tags. Use this value in a
subsequent ListTags request to get more tags.public String getNextToken()
An opaque string that indicates that the response contains only a subset of tags. Use this value in a subsequent
ListTags request to get more tags.
ListTags request to get more tags.public ListTagsResult withNextToken(String nextToken)
An opaque string that indicates that the response contains only a subset of tags. Use this value in a subsequent
ListTags request to get more tags.
nextToken - An opaque string that indicates that the response contains only a subset of tags. Use this value in a
subsequent ListTags request to get more tags.public String toString()
toString in class ObjectObject.toString()public ListTagsResult clone()
Copyright © 2025. All rights reserved.