@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()
An opaque string that indicates the position at which to begin returning the next list of resource tags.
|
List<TagListEntry> |
getTags()
Array of resource tags.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
An opaque string that indicates the position at which to begin returning the next list of resource tags.
|
void |
setTags(Collection<TagListEntry> tags)
Array of resource tags.
|
String |
toString()
Returns a string representation of this object.
|
ListTagsForResourceResult |
withNextToken(String nextToken)
An opaque string that indicates the position at which to begin returning the next list of resource tags.
|
ListTagsForResourceResult |
withTags(Collection<TagListEntry> tags)
Array of resource tags.
|
ListTagsForResourceResult |
withTags(TagListEntry... tags)
Array of resource tags.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<TagListEntry> getTags()
Array of resource tags.
public void setTags(Collection<TagListEntry> tags)
Array of resource tags.
tags
- Array of resource tags.public ListTagsForResourceResult withTags(TagListEntry... tags)
Array of resource tags.
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
- Array of resource tags.public ListTagsForResourceResult withTags(Collection<TagListEntry> tags)
Array of resource tags.
tags
- Array of resource tags.public void setNextToken(String nextToken)
An opaque string that indicates the position at which to begin returning the next list of resource tags.
nextToken
- An opaque string that indicates the position at which to begin returning the next list of resource tags.public String getNextToken()
An opaque string that indicates the position at which to begin returning the next list of resource tags.
public ListTagsForResourceResult withNextToken(String nextToken)
An opaque string that indicates the position at which to begin returning the next list of resource tags.
nextToken
- An opaque string that indicates the position at which to begin returning the next list of resource tags.public String toString()
toString
in class Object
Object.toString()
public ListTagsForResourceResult clone()