@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 pagination token.
|
List<Tag> |
getTags()
A list of tags, as key and value pairs, that is associated with the specified X-Ray group or sampling rule.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
A pagination token.
|
void |
setTags(Collection<Tag> tags)
A list of tags, as key and value pairs, that is associated with the specified X-Ray group or sampling rule.
|
String |
toString()
Returns a string representation of this object.
|
ListTagsForResourceResult |
withNextToken(String nextToken)
A pagination token.
|
ListTagsForResourceResult |
withTags(Collection<Tag> tags)
A list of tags, as key and value pairs, that is associated with the specified X-Ray group or sampling rule.
|
ListTagsForResourceResult |
withTags(Tag... tags)
A list of tags, as key and value pairs, that is associated with the specified X-Ray group or sampling rule.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Tag> getTags()
A list of tags, as key and value pairs, that is associated with the specified X-Ray group or sampling rule.
public void setTags(Collection<Tag> tags)
A list of tags, as key and value pairs, that is associated with the specified X-Ray group or sampling rule.
tags
- A list of tags, as key and value pairs, that is associated with the specified X-Ray group or sampling
rule.public ListTagsForResourceResult withTags(Tag... tags)
A list of tags, as key and value pairs, that is associated with the specified X-Ray group or sampling rule.
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, as key and value pairs, that is associated with the specified X-Ray group or sampling
rule.public ListTagsForResourceResult withTags(Collection<Tag> tags)
A list of tags, as key and value pairs, that is associated with the specified X-Ray group or sampling rule.
tags
- A list of tags, as key and value pairs, that is associated with the specified X-Ray group or sampling
rule.public void setNextToken(String nextToken)
A pagination token. If multiple pages of results are returned, use the NextToken
value returned with
the current page of results to get the next page of results.
nextToken
- A pagination token. If multiple pages of results are returned, use the NextToken
value
returned with the current page of results to get the next page of results.public String getNextToken()
A pagination token. If multiple pages of results are returned, use the NextToken
value returned with
the current page of results to get the next page of results.
NextToken
value
returned with the current page of results to get the next page of results.public ListTagsForResourceResult withNextToken(String nextToken)
A pagination token. If multiple pages of results are returned, use the NextToken
value returned with
the current page of results to get the next page of results.
nextToken
- A pagination token. If multiple pages of results are returned, use the NextToken
value
returned with the current page of results to get the next page of results.public String toString()
toString
in class Object
Object.toString()
public ListTagsForResourceResult clone()