public class ListPrincipalThingsResult extends Object implements Serializable
The output from the ListPrincipalThings operation.
| Constructor and Description |
|---|
ListPrincipalThingsResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getNextToken()
A token used to retrieve the next value.
|
List<String> |
getThings()
The things.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
A token used to retrieve the next value.
|
void |
setThings(Collection<String> things)
The things.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListPrincipalThingsResult |
withNextToken(String nextToken)
A token used to retrieve the next value.
|
ListPrincipalThingsResult |
withThings(Collection<String> things)
The things.
|
ListPrincipalThingsResult |
withThings(String... things)
The things.
|
public void setThings(Collection<String> things)
things - The things.public ListPrincipalThingsResult withThings(String... things)
Returns a reference to this object so that method calls can be chained together.
things - The things.public ListPrincipalThingsResult withThings(Collection<String> things)
Returns a reference to this object so that method calls can be chained together.
things - The things.public String getNextToken()
public void setNextToken(String nextToken)
nextToken - A token used to retrieve the next value.public ListPrincipalThingsResult withNextToken(String nextToken)
Returns a reference to this object so that method calls can be chained together.
nextToken - A token used to retrieve the next value.public String toString()
toString in class ObjectObject.toString()Copyright © 2016. All rights reserved.