@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListTagsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListTagsResult() |
Modifier and Type | Method and Description |
---|---|
ListTagsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token returned to indicate that there is more data available.
|
List<Tag> |
getTags()
The tags requested for the specified resource.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token returned to indicate that there is more data available.
|
void |
setTags(Collection<Tag> tags)
The tags requested for the specified resource.
|
String |
toString()
Returns a string representation of this object.
|
ListTagsResult |
withNextToken(String nextToken)
The token returned to indicate that there is more data available.
|
ListTagsResult |
withTags(Collection<Tag> tags)
The tags requested for the specified resource.
|
ListTagsResult |
withTags(Tag... tags)
The tags requested for the specified resource.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Tag> getTags()
The tags requested for the specified resource.
public void setTags(Collection<Tag> tags)
The tags requested for the specified resource.
tags
- The tags requested for the specified resource.public ListTagsResult withTags(Tag... tags)
The tags requested for the specified 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 requested for the specified resource.public ListTagsResult withTags(Collection<Tag> tags)
The tags requested for the specified resource.
tags
- The tags requested for the specified resource.public void setNextToken(String nextToken)
The token returned to indicate that there is more data available.
nextToken
- The token returned to indicate that there is more data available.public String getNextToken()
The token returned to indicate that there is more data available.
public ListTagsResult withNextToken(String nextToken)
The token returned to indicate that there is more data available.
nextToken
- The token returned to indicate that there is more data available.public String toString()
toString
in class Object
Object.toString()
public ListTagsResult clone()