public class ListThingsResult
extends java.lang.Object
implements java.io.Serializable
The output from the ListThings operation.
Constructor and Description |
---|
ListThingsResult() |
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.
|
java.util.List<ThingAttribute> |
getThings()
The things.
|
int |
hashCode() |
void |
setNextToken(java.lang.String nextToken)
The token to use to get the next set of results.
|
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)
The token to use to get the next set of results.
|
ListThingsResult |
withThings(java.util.Collection<ThingAttribute> things)
The things.
|
ListThingsResult |
withThings(ThingAttribute... things)
The things.
|
public java.util.List<ThingAttribute> getThings()
The things.
The things.
public void setThings(java.util.Collection<ThingAttribute> things)
The things.
things
- The things.
public ListThingsResult withThings(ThingAttribute... things)
The things.
Returns a reference to this object so that method calls can be chained together.
things
- The things.
public ListThingsResult withThings(java.util.Collection<ThingAttribute> 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. Will not be returned if operation has returned all results.
The token to use to get the next set of results. Will not be returned if operation has returned all results.
public void setNextToken(java.lang.String nextToken)
The token to use to get the next set of results. Will not be returned if operation has returned all results.
nextToken
- The token to use to get the next set of results. Will not be returned if operation has returned all results.
public ListThingsResult withNextToken(java.lang.String nextToken)
The token to use to get the next set of results. Will not be returned if operation has returned all 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. Will not be returned if operation has returned all results.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.