@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 to resume pagination with a subsequent call to
ListTagsForResourceResponse . |
List<Tag> |
getTags()
The tags currently associated with the Timestream resource.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
A pagination token to resume pagination with a subsequent call to
ListTagsForResourceResponse . |
void |
setTags(Collection<Tag> tags)
The tags currently associated with the Timestream resource.
|
String |
toString()
Returns a string representation of this object.
|
ListTagsForResourceResult |
withNextToken(String nextToken)
A pagination token to resume pagination with a subsequent call to
ListTagsForResourceResponse . |
ListTagsForResourceResult |
withTags(Collection<Tag> tags)
The tags currently associated with the Timestream resource.
|
ListTagsForResourceResult |
withTags(Tag... tags)
The tags currently associated with the Timestream resource.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Tag> getTags()
The tags currently associated with the Timestream resource.
public void setTags(Collection<Tag> tags)
The tags currently associated with the Timestream resource.
tags
- The tags currently associated with the Timestream resource.public ListTagsForResourceResult withTags(Tag... tags)
The tags currently associated with the Timestream 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 currently associated with the Timestream resource.public ListTagsForResourceResult withTags(Collection<Tag> tags)
The tags currently associated with the Timestream resource.
tags
- The tags currently associated with the Timestream resource.public void setNextToken(String nextToken)
A pagination token to resume pagination with a subsequent call to ListTagsForResourceResponse
.
nextToken
- A pagination token to resume pagination with a subsequent call to ListTagsForResourceResponse
.public String getNextToken()
A pagination token to resume pagination with a subsequent call to ListTagsForResourceResponse
.
ListTagsForResourceResponse
.public ListTagsForResourceResult withNextToken(String nextToken)
A pagination token to resume pagination with a subsequent call to ListTagsForResourceResponse
.
nextToken
- A pagination token to resume pagination with a subsequent call to ListTagsForResourceResponse
.public String toString()
toString
in class Object
Object.toString()
public ListTagsForResourceResult clone()