@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListPrincipalThingsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
The output from the ListPrincipalThings operation.
Constructor and Description |
---|
ListPrincipalThingsResult() |
Modifier and Type | Method and Description |
---|---|
ListPrincipalThingsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token to use to get 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 to use to get 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.
|
ListPrincipalThingsResult |
withNextToken(String nextToken)
The token to use to get 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.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setThings(Collection<String> things)
The things.
things
- The things.public ListPrincipalThingsResult withThings(String... things)
The things.
NOTE: This method appends the values to the existing list (if any). Use
setThings(java.util.Collection)
or withThings(java.util.Collection)
if you want to override the
existing values.
things
- The things.public ListPrincipalThingsResult withThings(Collection<String> things)
The things.
things
- The things.public void setNextToken(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 String getNextToken()
The token to use to get the next set of results, or null if there are no additional results.
public ListPrincipalThingsResult withNextToken(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 String toString()
toString
in class Object
Object.toString()
public ListPrincipalThingsResult clone()