@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListThingsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
The output from the ListThings operation.
Constructor and Description |
---|
ListThingsResult() |
Modifier and Type | Method and Description |
---|---|
ListThingsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token for the next set of results, or null if there are no additional results.
|
List<ThingAttribute> |
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<ThingAttribute> things)
The things.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ListThingsResult |
withNextToken(String nextToken)
The token for the next set of results, or null if there are no additional results.
|
ListThingsResult |
withThings(Collection<ThingAttribute> things)
The things.
|
ListThingsResult |
withThings(ThingAttribute... things)
The things.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ThingAttribute> getThings()
The things.
public void setThings(Collection<ThingAttribute> things)
The things.
things
- The things.public ListThingsResult withThings(ThingAttribute... 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 ListThingsResult withThings(Collection<ThingAttribute> things)
The things.
things
- The things.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 String getNextToken()
The token for the next set of results, or null if there are no additional results.
public ListThingsResult withNextToken(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 String toString()
toString
in class Object
Object.toString()
public ListThingsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.