@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 a large amount of information is returned, an identifier is also returned.
|
List<Tag> |
getTags()
A list of tags returned by
ListTagsForResource . |
int |
hashCode() |
void |
setNextToken(String nextToken)
If a large amount of information is returned, an identifier is also returned.
|
void |
setTags(Collection<Tag> tags)
A list of tags returned by
ListTagsForResource . |
String |
toString()
Returns a string representation of this object.
|
ListTagsForResourceResult |
withNextToken(String nextToken)
If a large amount of information is returned, an identifier is also returned.
|
ListTagsForResourceResult |
withTags(Collection<Tag> tags)
A list of tags returned by
ListTagsForResource . |
ListTagsForResourceResult |
withTags(Tag... tags)
A list of tags returned by
ListTagsForResource . |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Tag> getTags()
A list of tags returned by ListTagsForResource
. The tags are associated with the resource identified
by the input ResourceArn
parameter.
ListTagsForResource
. The tags are associated with the resource
identified by the input ResourceArn
parameter.public void setTags(Collection<Tag> tags)
A list of tags returned by ListTagsForResource
. The tags are associated with the resource identified
by the input ResourceArn
parameter.
tags
- A list of tags returned by ListTagsForResource
. The tags are associated with the resource
identified by the input ResourceArn
parameter.public ListTagsForResourceResult withTags(Tag... tags)
A list of tags returned by ListTagsForResource
. The tags are associated with the resource identified
by the input ResourceArn
parameter.
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
- A list of tags returned by ListTagsForResource
. The tags are associated with the resource
identified by the input ResourceArn
parameter.public ListTagsForResourceResult withTags(Collection<Tag> tags)
A list of tags returned by ListTagsForResource
. The tags are associated with the resource identified
by the input ResourceArn
parameter.
tags
- A list of tags returned by ListTagsForResource
. The tags are associated with the resource
identified by the input ResourceArn
parameter.public void setNextToken(String nextToken)
If a large amount of information is returned, an identifier is also returned. It can be used in a subsequent list application revisions call to return the next set of application revisions in the list.
nextToken
- If a large amount of information is returned, an identifier is also returned. It can be used in a
subsequent list application revisions call to return the next set of application revisions in the list.public String getNextToken()
If a large amount of information is returned, an identifier is also returned. It can be used in a subsequent list application revisions call to return the next set of application revisions in the list.
public ListTagsForResourceResult withNextToken(String nextToken)
If a large amount of information is returned, an identifier is also returned. It can be used in a subsequent list application revisions call to return the next set of application revisions in the list.
nextToken
- If a large amount of information is returned, an identifier is also returned. It can be used in a
subsequent list application revisions call to return the next set of application revisions in the list.public String toString()
toString
in class Object
Object.toString()
public ListTagsForResourceResult clone()