@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListTagsForResourceResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
ListTagsForResourceResponse
Constructor and Description |
---|
ListTagsForResourceResult() |
Modifier and Type | Method and Description |
---|---|
ListTagsForResourceResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The opaque string that indicates the position to begin the next list of results in the response.
|
List<TagListEntry> |
getTags()
An array of tags applied to the specified resource.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The opaque string that indicates the position to begin the next list of results in the response.
|
void |
setTags(Collection<TagListEntry> tags)
An array of tags applied to the specified resource.
|
String |
toString()
Returns a string representation of this object.
|
ListTagsForResourceResult |
withNextToken(String nextToken)
The opaque string that indicates the position to begin the next list of results in the response.
|
ListTagsForResourceResult |
withTags(Collection<TagListEntry> tags)
An array of tags applied to the specified resource.
|
ListTagsForResourceResult |
withTags(TagListEntry... tags)
An array of tags applied to the specified resource.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<TagListEntry> getTags()
An array of tags applied to the specified resource.
public void setTags(Collection<TagListEntry> tags)
An array of tags applied to the specified resource.
tags
- An array of tags applied to the specified resource.public ListTagsForResourceResult withTags(TagListEntry... tags)
An array of tags applied to 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
- An array of tags applied to the specified resource.public ListTagsForResourceResult withTags(Collection<TagListEntry> tags)
An array of tags applied to the specified resource.
tags
- An array of tags applied to the specified resource.public void setNextToken(String nextToken)
The opaque string that indicates the position to begin the next list of results in the response.
nextToken
- The opaque string that indicates the position to begin the next list of results in the response.public String getNextToken()
The opaque string that indicates the position to begin the next list of results in the response.
public ListTagsForResourceResult withNextToken(String nextToken)
The opaque string that indicates the position to begin the next list of results in the response.
nextToken
- The opaque string that indicates the position to begin the next list of results in the response.public String toString()
toString
in class Object
Object.toString()
public ListTagsForResourceResult clone()