@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()
If present, indicates that more output is available than is included in the current response.
|
List<Tag> |
getTags()
The tags that are assigned to the resource.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
If present, indicates that more output is available than is included in the current response.
|
void |
setTags(Collection<Tag> tags)
The tags that are assigned to the resource.
|
String |
toString()
Returns a string representation of this object.
|
ListTagsForResourceResult |
withNextToken(String nextToken)
If present, indicates that more output is available than is included in the current response.
|
ListTagsForResourceResult |
withTags(Collection<Tag> tags)
The tags that are assigned to the resource.
|
ListTagsForResourceResult |
withTags(Tag... tags)
The tags that are assigned to the resource.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<Tag> getTags()
The tags that are assigned to the resource.
public void setTags(Collection<Tag> tags)
The tags that are assigned to the resource.
tags - The tags that are assigned to the resource.public ListTagsForResourceResult withTags(Tag... tags)
The tags that are assigned to the 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 that are assigned to the resource.public ListTagsForResourceResult withTags(Collection<Tag> tags)
The tags that are assigned to the resource.
tags - The tags that are assigned to the resource.public void setNextToken(String nextToken)
If present, indicates that more output is available than is included in the current response. Use this value in
the NextToken request parameter in a subsequent call to the operation to get the next part of the
output. You should repeat this until the NextToken response element comes back as null.
nextToken - If present, indicates that more output is available than is included in the current response. Use this
value in the NextToken request parameter in a subsequent call to the operation to get the
next part of the output. You should repeat this until the NextToken response element comes
back as null.public String getNextToken()
If present, indicates that more output is available than is included in the current response. Use this value in
the NextToken request parameter in a subsequent call to the operation to get the next part of the
output. You should repeat this until the NextToken response element comes back as null.
NextToken request parameter in a subsequent call to the operation to get the
next part of the output. You should repeat this until the NextToken response element comes
back as null.public ListTagsForResourceResult withNextToken(String nextToken)
If present, indicates that more output is available than is included in the current response. Use this value in
the NextToken request parameter in a subsequent call to the operation to get the next part of the
output. You should repeat this until the NextToken response element comes back as null.
nextToken - If present, indicates that more output is available than is included in the current response. Use this
value in the NextToken request parameter in a subsequent call to the operation to get the
next part of the output. You should repeat this until the NextToken response element comes
back as null.public String toString()
toString in class ObjectObject.toString()public ListTagsForResourceResult clone()