@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 for the next set of results, or an empty or null value if there are no more results.
|
List<Tag> |
getTags()
The list of tags associated with a
ResourceArn . |
int |
hashCode() |
void |
setNextToken(String nextToken)
The token for the next set of results, or an empty or null value if there are no more results.
|
void |
setTags(Collection<Tag> tags)
The list of tags associated with a
ResourceArn . |
String |
toString()
Returns a string representation of this object.
|
ListTagsForResourceResult |
withNextToken(String nextToken)
The token for the next set of results, or an empty or null value if there are no more results.
|
ListTagsForResourceResult |
withTags(Collection<Tag> tags)
The list of tags associated with a
ResourceArn . |
ListTagsForResourceResult |
withTags(Tag... tags)
The list of tags associated with a
ResourceArn . |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Tag> getTags()
The list of tags associated with a ResourceArn
. Each tag will list the key-value pair contained
within that tag.
ResourceArn
. Each tag will list the key-value pair
contained within that tag.public void setTags(Collection<Tag> tags)
The list of tags associated with a ResourceArn
. Each tag will list the key-value pair contained
within that tag.
tags
- The list of tags associated with a ResourceArn
. Each tag will list the key-value pair
contained within that tag.public ListTagsForResourceResult withTags(Tag... tags)
The list of tags associated with a ResourceArn
. Each tag will list the key-value pair contained
within that tag.
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 list of tags associated with a ResourceArn
. Each tag will list the key-value pair
contained within that tag.public ListTagsForResourceResult withTags(Collection<Tag> tags)
The list of tags associated with a ResourceArn
. Each tag will list the key-value pair contained
within that tag.
tags
- The list of tags associated with a ResourceArn
. Each tag will list the key-value pair
contained within that tag.public void setNextToken(String nextToken)
The token for the next set of results, or an empty or null value if there are no more results.
nextToken
- The token for the next set of results, or an empty or null value if there are no more results.public String getNextToken()
The token for the next set of results, or an empty or null value if there are no more results.
public ListTagsForResourceResult withNextToken(String nextToken)
The token for the next set of results, or an empty or null value if there are no more results.
nextToken
- The token for the next set of results, or an empty or null value if there are no more results.public String toString()
toString
in class Object
Object.toString()
public ListTagsForResourceResult clone()