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()
The token for the next set of results, or null if there are no
additional results.
|
List<String> |
getThings()
The things.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token for the next set of results, or null if there are no
additional results.
|
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)
The token for the next set of results, or null if there are no
additional results.
|
ListPrincipalThingsResult |
withThings(Collection<String> things)
The things.
|
ListPrincipalThingsResult |
withThings(String... things)
The things.
|
public void setThings(Collection<String> things)
The things.
things - The things.
public ListPrincipalThingsResult withThings(String... things)
The things.
Returns a reference to this object so that method calls can be chained together.
things - The things.
public ListPrincipalThingsResult withThings(Collection<String> things)
The things.
Returns a reference to this object so that method calls can be chained together.
things - The things.
public String getNextToken()
The token for the next set of results, or null if there are no additional results.
The token for the next set of results, or null if there are no additional results.
public void setNextToken(String nextToken)
The token for the next set of results, or null if there are no additional results.
nextToken - The token for the next set of results, or null if there are no additional results.
public ListPrincipalThingsResult withNextToken(String nextToken)
The token for 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 for the next set of results, or null if there are no additional results.
public String toString()
toString in class ObjectObject.toString()Copyright © 2017. All rights reserved.