public class DescribeTagsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
nextToken
The call returns a token.
|
private java.util.List<ConfigurationTag> |
tags
Depending on the input, this is a list of configuration items tagged with
a specific tag, or a list of tags for a specific configuration item.
|
Constructor and Description |
---|
DescribeTagsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeTagsResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getNextToken()
The call returns a token.
|
java.util.List<ConfigurationTag> |
getTags()
Depending on the input, this is a list of configuration items tagged with
a specific tag, or a list of tags for a specific configuration item.
|
int |
hashCode() |
void |
setNextToken(java.lang.String nextToken)
The call returns a token.
|
void |
setTags(java.util.Collection<ConfigurationTag> tags)
Depending on the input, this is a list of configuration items tagged with
a specific tag, or a list of tags for a specific configuration item.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeTagsResult |
withNextToken(java.lang.String nextToken)
The call returns a token.
|
DescribeTagsResult |
withTags(java.util.Collection<ConfigurationTag> tags)
Depending on the input, this is a list of configuration items tagged with
a specific tag, or a list of tags for a specific configuration item.
|
DescribeTagsResult |
withTags(ConfigurationTag... tags)
Depending on the input, this is a list of configuration items tagged with
a specific tag, or a list of tags for a specific configuration item.
|
private java.util.List<ConfigurationTag> tags
Depending on the input, this is a list of configuration items tagged with a specific tag, or a list of tags for a specific configuration item.
private java.lang.String nextToken
The call returns a token. Use this token to get the next set of results.
public java.util.List<ConfigurationTag> getTags()
Depending on the input, this is a list of configuration items tagged with a specific tag, or a list of tags for a specific configuration item.
public void setTags(java.util.Collection<ConfigurationTag> tags)
Depending on the input, this is a list of configuration items tagged with a specific tag, or a list of tags for a specific configuration item.
tags
- Depending on the input, this is a list of configuration items
tagged with a specific tag, or a list of tags for a specific
configuration item.public DescribeTagsResult withTags(ConfigurationTag... tags)
Depending on the input, this is a list of configuration items tagged with a specific tag, or a list of tags for a specific configuration item.
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
- Depending on the input, this is a list of configuration items
tagged with a specific tag, or a list of tags for a specific
configuration item.public DescribeTagsResult withTags(java.util.Collection<ConfigurationTag> tags)
Depending on the input, this is a list of configuration items tagged with a specific tag, or a list of tags for a specific configuration item.
tags
- Depending on the input, this is a list of configuration items
tagged with a specific tag, or a list of tags for a specific
configuration item.public void setNextToken(java.lang.String nextToken)
The call returns a token. Use this token to get the next set of results.
nextToken
- The call returns a token. Use this token to get the next set of
results.public java.lang.String getNextToken()
The call returns a token. Use this token to get the next set of results.
public DescribeTagsResult withNextToken(java.lang.String nextToken)
The call returns a token. Use this token to get the next set of results.
nextToken
- The call returns a token. Use this token to get the next set of
results.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeTagsResult clone()
clone
in class java.lang.Object