@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
nextToken value to include in a future ListTagsForResource request. |
List<TagRef> |
getTags()
The tags for the resource.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The
nextToken value to include in a future ListTagsForResource request. |
void |
setTags(Collection<TagRef> tags)
The tags for the resource.
|
String |
toString()
Returns a string representation of this object.
|
ListTagsForResourceResult |
withNextToken(String nextToken)
The
nextToken value to include in a future ListTagsForResource request. |
ListTagsForResourceResult |
withTags(Collection<TagRef> tags)
The tags for the resource.
|
ListTagsForResourceResult |
withTags(TagRef... tags)
The tags for the resource.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setNextToken(String nextToken)
The nextToken value to include in a future ListTagsForResource request. When the
results of a ListTagsForResource request exceed limit, you can use this value to
retrieve the next page of results. This value is null when there are no more results to return.
nextToken - The nextToken value to include in a future ListTagsForResource request. When the
results of a ListTagsForResource request exceed limit, you can use this value to
retrieve the next page of results. This value is null when there are no more results to
return.public String getNextToken()
The nextToken value to include in a future ListTagsForResource request. When the
results of a ListTagsForResource request exceed limit, you can use this value to
retrieve the next page of results. This value is null when there are no more results to return.
nextToken value to include in a future ListTagsForResource request. When
the results of a ListTagsForResource request exceed limit, you can use this
value to retrieve the next page of results. This value is null when there are no more
results to return.public ListTagsForResourceResult withNextToken(String nextToken)
The nextToken value to include in a future ListTagsForResource request. When the
results of a ListTagsForResource request exceed limit, you can use this value to
retrieve the next page of results. This value is null when there are no more results to return.
nextToken - The nextToken value to include in a future ListTagsForResource request. When the
results of a ListTagsForResource request exceed limit, you can use this value to
retrieve the next page of results. This value is null when there are no more results to
return.public List<TagRef> getTags()
The tags for the resource.
public void setTags(Collection<TagRef> tags)
The tags for the resource.
tags - The tags for the resource.public ListTagsForResourceResult withTags(TagRef... tags)
The tags for the resource.
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 for the resource.public ListTagsForResourceResult withTags(Collection<TagRef> tags)
The tags for the resource.
tags - The tags for the resource.public String toString()
toString in class ObjectObject.toString()public ListTagsForResourceResult clone()