public class ListTagsForResourceResult extends Object implements Serializable
| Constructor and Description |
|---|
ListTagsForResourceResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getNextToken()
The token used to get the next set of results, or null if there
are no additional results.
|
List<Tag> |
getTags()
The list of tags assigned to the resource.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token used to get the next set of results, or null if there
are no additional results.
|
void |
setTags(Collection<Tag> tags)
The list of tags assigned to the resource.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListTagsForResourceResult |
withNextToken(String nextToken)
The token used to get the next set of results, or null if there
are no additional results.
|
ListTagsForResourceResult |
withTags(Collection<Tag> tags)
The list of tags assigned to the resource.
|
ListTagsForResourceResult |
withTags(Tag... tags)
The list of tags assigned to the resource.
|
public List<Tag> getTags()
The list of tags assigned to the resource.
The list of tags assigned to the resource.
public void setTags(Collection<Tag> tags)
The list of tags assigned to the resource.
tags - The list of tags assigned to the resource.
public ListTagsForResourceResult withTags(Tag... tags)
The list of tags assigned to the resource.
Returns a reference to this object so that method calls can be chained together.
tags - The list of tags assigned to the resource.
public ListTagsForResourceResult withTags(Collection<Tag> tags)
The list of tags assigned to the resource.
Returns a reference to this object so that method calls can be chained together.
tags - The list of tags assigned to the resource.
public String getNextToken()
The token used to get the next set of results, or null if there are no additional results.
The token used to get the next set of results, or null if there are no additional results.
public void setNextToken(String nextToken)
The token used to get the next set of results, or null if there are no additional results.
nextToken - The token used to get the next set of results, or null if there are no additional results.
public ListTagsForResourceResult withNextToken(String nextToken)
The token used to get the next set of results, or null if there are no additional results.
Returns a reference to this object so that method calls can be chained together.
nextToken - The token used to get the next set of results, or null if there are no additional results.
public String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.