@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListTagsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Contains the response to a ListTags request.
| Constructor and Description |
|---|
ListTagsResult() |
| Modifier and Type | Method and Description |
|---|---|
ListTagsResult |
addTagsEntry(String key,
String value) |
ListTagsResult |
clearTagsEntries()
Removes all the entries added into Tags.
|
ListTagsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
If a paginated request does not return all of the remaining results, this parameter is set to a token that you
can assign to the request object's
NextToken parameter to get the next set of results. |
Map<String,String> |
getTags()
A set of key-value pairs that contain tag keys and tag values that are attached to a stack or layer.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
If a paginated request does not return all of the remaining results, this parameter is set to a token that you
can assign to the request object's
NextToken parameter to get the next set of results. |
void |
setTags(Map<String,String> tags)
A set of key-value pairs that contain tag keys and tag values that are attached to a stack or layer.
|
String |
toString()
Returns a string representation of this object.
|
ListTagsResult |
withNextToken(String nextToken)
If a paginated request does not return all of the remaining results, this parameter is set to a token that you
can assign to the request object's
NextToken parameter to get the next set of results. |
ListTagsResult |
withTags(Map<String,String> tags)
A set of key-value pairs that contain tag keys and tag values that are attached to a stack or layer.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic Map<String,String> getTags()
A set of key-value pairs that contain tag keys and tag values that are attached to a stack or layer.
public void setTags(Map<String,String> tags)
A set of key-value pairs that contain tag keys and tag values that are attached to a stack or layer.
tags - A set of key-value pairs that contain tag keys and tag values that are attached to a stack or layer.public ListTagsResult withTags(Map<String,String> tags)
A set of key-value pairs that contain tag keys and tag values that are attached to a stack or layer.
tags - A set of key-value pairs that contain tag keys and tag values that are attached to a stack or layer.public ListTagsResult addTagsEntry(String key, String value)
public ListTagsResult clearTagsEntries()
public void setNextToken(String nextToken)
If a paginated request does not return all of the remaining results, this parameter is set to a token that you
can assign to the request object's NextToken parameter to get the next set of results. If the
previous paginated request returned all of the remaining results, this parameter is set to null.
nextToken - If a paginated request does not return all of the remaining results, this parameter is set to a token that
you can assign to the request object's NextToken parameter to get the next set of results. If
the previous paginated request returned all of the remaining results, this parameter is set to
null.public String getNextToken()
If a paginated request does not return all of the remaining results, this parameter is set to a token that you
can assign to the request object's NextToken parameter to get the next set of results. If the
previous paginated request returned all of the remaining results, this parameter is set to null.
NextToken parameter to get the next set of
results. If the previous paginated request returned all of the remaining results, this parameter is set
to null.public ListTagsResult withNextToken(String nextToken)
If a paginated request does not return all of the remaining results, this parameter is set to a token that you
can assign to the request object's NextToken parameter to get the next set of results. If the
previous paginated request returned all of the remaining results, this parameter is set to null.
nextToken - If a paginated request does not return all of the remaining results, this parameter is set to a token that
you can assign to the request object's NextToken parameter to get the next set of results. If
the previous paginated request returned all of the remaining results, this parameter is set to
null.public String toString()
toString in class ObjectObject.toString()public ListTagsResult clone()
Copyright © 2020. All rights reserved.