public class ListThingsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
The output from the ListThings operation.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
nextToken
A token used to retrieve the next value.
|
private java.util.List<ThingAttribute> |
things
The things.
|
Constructor and Description |
---|
ListThingsResult() |
Modifier and Type | Method and Description |
---|---|
ListThingsResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getNextToken()
A token used to retrieve the next value.
|
java.util.List<ThingAttribute> |
getThings()
The things.
|
int |
hashCode() |
void |
setNextToken(java.lang.String nextToken)
A token used to retrieve the next value.
|
void |
setThings(java.util.Collection<ThingAttribute> things)
The things.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListThingsResult |
withNextToken(java.lang.String nextToken)
A token used to retrieve the next value.
|
ListThingsResult |
withThings(java.util.Collection<ThingAttribute> things)
The things.
|
ListThingsResult |
withThings(ThingAttribute... things)
The things.
|
private java.util.List<ThingAttribute> things
The things.
private java.lang.String nextToken
A token used to retrieve the next value.
public java.util.List<ThingAttribute> getThings()
The things.
public void setThings(java.util.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(java.util.Collection<ThingAttribute> things)
The things.
things
- The things.public void setNextToken(java.lang.String nextToken)
A token used to retrieve the next value.
nextToken
- A token used to retrieve the next value.public java.lang.String getNextToken()
A token used to retrieve the next value.
public ListThingsResult withNextToken(java.lang.String nextToken)
A token used to retrieve the next value.
nextToken
- A token used to retrieve the next value.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ListThingsResult clone()
clone
in class java.lang.Object