@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListTagsForResourceResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ListTagsForResourceResult() |
| Modifier and Type | Method and Description |
|---|---|
ListTagsForResourceResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token to retrieve the next set of results.
|
List<ResourceTag> |
getResourceTags()
An optional list of tags to associate with the specified export.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token to retrieve the next set of results.
|
void |
setResourceTags(Collection<ResourceTag> resourceTags)
An optional list of tags to associate with the specified export.
|
String |
toString()
Returns a string representation of this object.
|
ListTagsForResourceResult |
withNextToken(String nextToken)
The token to retrieve the next set of results.
|
ListTagsForResourceResult |
withResourceTags(Collection<ResourceTag> resourceTags)
An optional list of tags to associate with the specified export.
|
ListTagsForResourceResult |
withResourceTags(ResourceTag... resourceTags)
An optional list of tags to associate with the specified export.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setNextToken(String nextToken)
The token to retrieve the next set of results.
nextToken - The token to retrieve the next set of results.public String getNextToken()
The token to retrieve the next set of results.
public ListTagsForResourceResult withNextToken(String nextToken)
The token to retrieve the next set of results.
nextToken - The token to retrieve the next set of results.public List<ResourceTag> getResourceTags()
An optional list of tags to associate with the specified export. Each tag consists of a key and a value, and each key must be unique for the resource.
public void setResourceTags(Collection<ResourceTag> resourceTags)
An optional list of tags to associate with the specified export. Each tag consists of a key and a value, and each key must be unique for the resource.
resourceTags - An optional list of tags to associate with the specified export. Each tag consists of a key and a value,
and each key must be unique for the resource.public ListTagsForResourceResult withResourceTags(ResourceTag... resourceTags)
An optional list of tags to associate with the specified export. Each tag consists of a key and a value, and each key must be unique for the resource.
NOTE: This method appends the values to the existing list (if any). Use
setResourceTags(java.util.Collection) or withResourceTags(java.util.Collection) if you want to
override the existing values.
resourceTags - An optional list of tags to associate with the specified export. Each tag consists of a key and a value,
and each key must be unique for the resource.public ListTagsForResourceResult withResourceTags(Collection<ResourceTag> resourceTags)
An optional list of tags to associate with the specified export. Each tag consists of a key and a value, and each key must be unique for the resource.
resourceTags - An optional list of tags to associate with the specified export. Each tag consists of a key and a value,
and each key must be unique for the resource.public String toString()
toString in class ObjectObject.toString()public ListTagsForResourceResult clone()
Copyright © 2025. All rights reserved.