@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
nextToken string returned on a previous page that you use to get the next page of results in a
paginated response. |
List<Tag> |
getTags()
The tags for the resource.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The
nextToken string returned on a previous page that you use to get the next page of results in a
paginated response. |
void |
setTags(Collection<Tag> tags)
The tags for the resource.
|
String |
toString()
Returns a string representation of this object.
|
ListTagsForResourceResult |
withNextToken(String nextToken)
The
nextToken string returned on a previous page that you use to get the next page of results in a
paginated response. |
ListTagsForResourceResult |
withTags(Collection<Tag> tags)
The tags for the resource.
|
ListTagsForResourceResult |
withTags(Tag... tags)
The tags for the resource.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setTags(Collection<Tag> tags)
The tags for the resource.
tags
- The tags for the resource.public ListTagsForResourceResult withTags(Tag... tags)
The tags for 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
- The tags for the resource.public ListTagsForResourceResult withTags(Collection<Tag> tags)
The tags for the resource.
tags
- The tags for the resource.public void setNextToken(String nextToken)
The nextToken
string returned on a previous page that you use to get the next page of results in a
paginated response.
nextToken
- The nextToken
string returned on a previous page that you use to get the next page of results
in a paginated response.public String getNextToken()
The nextToken
string returned on a previous page that you use to get the next page of results in a
paginated response.
nextToken
string returned on a previous page that you use to get the next page of
results in a paginated response.public ListTagsForResourceResult withNextToken(String nextToken)
The nextToken
string returned on a previous page that you use to get the next page of results in a
paginated response.
nextToken
- The nextToken
string returned on a previous page that you use to get the next page of results
in a paginated response.public String toString()
toString
in class Object
Object.toString()
public ListTagsForResourceResult clone()