@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 indicates the location of the next resource tag in the array of resource tags, after the current
requested list of resource tags.
|
List<Tag> |
getTags()
A list of resource tags with detail data.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
A token that indicates the location of the next resource tag in the array of resource tags, after the current
requested list of resource tags.
|
void |
setTags(Collection<Tag> tags)
A list of resource tags with detail data.
|
String |
toString()
Returns a string representation of this object.
|
ListTagsForResourceResult |
withNextToken(String nextToken)
A token that indicates the location of the next resource tag in the array of resource tags, after the current
requested list of resource tags.
|
ListTagsForResourceResult |
withTags(Collection<Tag> tags)
A list of resource tags with detail data.
|
ListTagsForResourceResult |
withTags(Tag... tags)
A list of resource tags with detail data.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
A token that indicates the location of the next resource tag in the array of resource tags, after the current requested list of resource tags.
nextToken
- A token that indicates the location of the next resource tag in the array of resource tags, after the
current requested list of resource tags.public String getNextToken()
A token that indicates the location of the next resource tag in the array of resource tags, after the current requested list of resource tags.
public ListTagsForResourceResult withNextToken(String nextToken)
A token that indicates the location of the next resource tag in the array of resource tags, after the current requested list of resource tags.
nextToken
- A token that indicates the location of the next resource tag in the array of resource tags, after the
current requested list of resource tags.public List<Tag> getTags()
A list of resource tags with detail data.
public void setTags(Collection<Tag> tags)
A list of resource tags with detail data.
tags
- A list of resource tags with detail data.public ListTagsForResourceResult withTags(Tag... tags)
A list of resource tags with detail data.
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 resource tags with detail data.public ListTagsForResourceResult withTags(Collection<Tag> tags)
A list of resource tags with detail data.
tags
- A list of resource tags with detail data.public String toString()
toString
in class Object
Object.toString()
public ListTagsForResourceResult clone()