@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListTagsForResourceResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
The response object for ListTagsForResource
operation.
Constructor and Description |
---|
ListTagsForResourceResult() |
Modifier and Type | Method and Description |
---|---|
ListTagsForResourceResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
This is present if there are more tags than returned in the response (String).
|
List<Tag> |
getTags()
A list of tags on the resource.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
This is present if there are more tags than returned in the response (String).
|
void |
setTags(Collection<Tag> tags)
A list of tags on the resource.
|
String |
toString()
Returns a string representation of this object.
|
ListTagsForResourceResult |
withNextToken(String nextToken)
This is present if there are more tags than returned in the response (String).
|
ListTagsForResourceResult |
withTags(Collection<Tag> tags)
A list of tags on the resource.
|
ListTagsForResourceResult |
withTags(Tag... tags)
A list of tags on the resource.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Tag> getTags()
A list of tags on the resource.
public void setTags(Collection<Tag> tags)
A list of tags on the resource.
tags
- A list of tags on the resource.public ListTagsForResourceResult withTags(Tag... tags)
A list of tags on the resource.
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 on the resource.public ListTagsForResourceResult withTags(Collection<Tag> tags)
A list of tags on the resource.
tags
- A list of tags on the resource.public void setNextToken(String nextToken)
This is present if there are more tags than returned in the response (String). You can use the
NextToken
value in the later request to fetch the tags.
nextToken
- This is present if there are more tags than returned in the response (String). You can use the
NextToken
value in the later request to fetch the tags.public String getNextToken()
This is present if there are more tags than returned in the response (String). You can use the
NextToken
value in the later request to fetch the tags.
NextToken
value in the later request to fetch the tags.public ListTagsForResourceResult withNextToken(String nextToken)
This is present if there are more tags than returned in the response (String). You can use the
NextToken
value in the later request to fetch the tags.
nextToken
- This is present if there are more tags than returned in the response (String). You can use the
NextToken
value in the later request to fetch the tags.public String toString()
toString
in class Object
Object.toString()
public ListTagsForResourceResult clone()