@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()
If more than
MaxResults tags match the specified criteria, you can submit another
ListTagsForResource request to get the next group of results. |
List<Tag> |
getTags()
The tags that are associated with the resource that you specified in the
ListTagsForResource
request. |
int |
hashCode() |
void |
setNextToken(String nextToken)
If more than
MaxResults tags match the specified criteria, you can submit another
ListTagsForResource request to get the next group of results. |
void |
setTags(Collection<Tag> tags)
The tags that are associated with the resource that you specified in the
ListTagsForResource
request. |
String |
toString()
Returns a string representation of this object.
|
ListTagsForResourceResult |
withNextToken(String nextToken)
If more than
MaxResults tags match the specified criteria, you can submit another
ListTagsForResource request to get the next group of results. |
ListTagsForResourceResult |
withTags(Collection<Tag> tags)
The tags that are associated with the resource that you specified in the
ListTagsForResource
request. |
ListTagsForResourceResult |
withTags(Tag... tags)
The tags that are associated with the resource that you specified in the
ListTagsForResource
request. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<Tag> getTags()
The tags that are associated with the resource that you specified in the ListTagsForResource
request.
ListTagsForResource
request.public void setTags(Collection<Tag> tags)
The tags that are associated with the resource that you specified in the ListTagsForResource
request.
tags - The tags that are associated with the resource that you specified in the ListTagsForResource
request.public ListTagsForResourceResult withTags(Tag... tags)
The tags that are associated with the resource that you specified in the ListTagsForResource
request.
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 that are associated with the resource that you specified in the ListTagsForResource
request.public ListTagsForResourceResult withTags(Collection<Tag> tags)
The tags that are associated with the resource that you specified in the ListTagsForResource
request.
tags - The tags that are associated with the resource that you specified in the ListTagsForResource
request.public void setNextToken(String nextToken)
If more than MaxResults tags match the specified criteria, you can submit another
ListTagsForResource request to get the next group of results. In the next request, specify the value
of NextToken from the previous response.
nextToken - If more than MaxResults tags match the specified criteria, you can submit another
ListTagsForResource request to get the next group of results. In the next request, specify
the value of NextToken from the previous response.public String getNextToken()
If more than MaxResults tags match the specified criteria, you can submit another
ListTagsForResource request to get the next group of results. In the next request, specify the value
of NextToken from the previous response.
MaxResults tags match the specified criteria, you can submit another
ListTagsForResource request to get the next group of results. In the next request, specify
the value of NextToken from the previous response.public ListTagsForResourceResult withNextToken(String nextToken)
If more than MaxResults tags match the specified criteria, you can submit another
ListTagsForResource request to get the next group of results. In the next request, specify the value
of NextToken from the previous response.
nextToken - If more than MaxResults tags match the specified criteria, you can submit another
ListTagsForResource request to get the next group of results. In the next request, specify
the value of NextToken from the previous response.public String toString()
toString in class ObjectObject.toString()public ListTagsForResourceResult clone()
Copyright © 2022. All rights reserved.