public class ListPrincipalThingsResult
extends java.lang.Object
implements java.io.Serializable
The output from the ListPrincipalThings operation.
| Constructor and Description |
|---|
ListPrincipalThingsResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getNextToken()
The token to use to get the next set of results, or null if there
are no additional results.
|
java.util.List<java.lang.String> |
getThings()
The things.
|
int |
hashCode() |
void |
setNextToken(java.lang.String nextToken)
The token to use to get the next set of results, or null if there
are no additional results.
|
void |
setThings(java.util.Collection<java.lang.String> things)
The things.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListPrincipalThingsResult |
withNextToken(java.lang.String nextToken)
The token to use to get the next set of results, or null if there
are no additional results.
|
ListPrincipalThingsResult |
withThings(java.util.Collection<java.lang.String> things)
The things.
|
ListPrincipalThingsResult |
withThings(java.lang.String... things)
The things.
|
public java.util.List<java.lang.String> getThings()
The things.
The things.
public void setThings(java.util.Collection<java.lang.String> things)
The things.
things - The things.
public ListPrincipalThingsResult withThings(java.lang.String... things)
The things.
Returns a reference to this object so that method calls can be chained together.
things - The things.
public ListPrincipalThingsResult withThings(java.util.Collection<java.lang.String> things)
The things.
Returns a reference to this object so that method calls can be chained together.
things - The things.
public java.lang.String getNextToken()
The token to use to get the next set of results, or null if there are no additional results.
The token to use to get the next set of results, or null if there are no additional results.
public void setNextToken(java.lang.String nextToken)
The token to use to get the next set of results, or null if there are no additional results.
nextToken - The token to use to get the next set of results, or null if there are no additional results.
public ListPrincipalThingsResult withNextToken(java.lang.String nextToken)
The token to use 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 to use to get the next set of results, or null if there are no additional results.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.