public class ListThingsResult extends Object implements Serializable
The output from the ListThings operation.
| Constructor and Description |
|---|
ListThingsResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getNextToken()
A token used to retrieve the next value.
|
List<ThingAttribute> |
getThings()
The things.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
A token used to retrieve the next value.
|
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)
A token used to retrieve the next value.
|
ListThingsResult |
withThings(Collection<ThingAttribute> things)
The things.
|
ListThingsResult |
withThings(ThingAttribute... things)
The things.
|
public List<ThingAttribute> getThings()
public void setThings(Collection<ThingAttribute> things)
things - The things.public ListThingsResult withThings(ThingAttribute... things)
Returns a reference to this object so that method calls can be chained together.
things - The things.public ListThingsResult withThings(Collection<ThingAttribute> 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 ListThingsResult 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.