@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()
A token that you can use as the value of
NextToken in subsequent calls to the API to show more
results. |
List<Tag> |
getTags()
Tags that have been applied to the resource.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
A token that you can use as the value of
NextToken in subsequent calls to the API to show more
results. |
void |
setTags(Collection<Tag> tags)
Tags that have been applied to the resource.
|
String |
toString()
Returns a string representation of this object.
|
ListTagsForResourceResult |
withNextToken(String nextToken)
A token that you can use as the value of
NextToken in subsequent calls to the API to show more
results. |
ListTagsForResourceResult |
withTags(Collection<Tag> tags)
Tags that have been applied to the resource.
|
ListTagsForResourceResult |
withTags(Tag... tags)
Tags that have been applied to the resource.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Tag> getTags()
Tags that have been applied to the resource.
public void setTags(Collection<Tag> tags)
Tags that have been applied to the resource.
tags
- Tags that have been applied to the resource.public ListTagsForResourceResult withTags(Tag... tags)
Tags that have been applied to 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
- Tags that have been applied to the resource.public ListTagsForResourceResult withTags(Collection<Tag> tags)
Tags that have been applied to the resource.
tags
- Tags that have been applied to the resource.public void setNextToken(String nextToken)
A token that you can use as the value of NextToken
in subsequent calls to the API to show more
results.
nextToken
- A token that you can use as the value of NextToken
in subsequent calls to the API to show
more results.public String getNextToken()
A token that you can use as the value of NextToken
in subsequent calls to the API to show more
results.
NextToken
in subsequent calls to the API to show
more results.public ListTagsForResourceResult withNextToken(String nextToken)
A token that you can use as the value of NextToken
in subsequent calls to the API to show more
results.
nextToken
- A token that you can use as the value of NextToken
in subsequent calls to the API to show
more results.public String toString()
toString
in class Object
Object.toString()
public ListTagsForResourceResult clone()