Package com.amazonaws.services.iot.model
Class ListThingsResult
- java.lang.Object
-
- com.amazonaws.services.iot.model.ListThingsResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class ListThingsResult extends Object implements Serializable, Cloneable
The output from the ListThings operation.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListThingsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListThingsResultclone()booleanequals(Object obj)StringgetNextToken()A token used to retrieve the next value.List<ThingAttribute>getThings()The things.inthashCode()voidsetNextToken(String nextToken)A token used to retrieve the next value.voidsetThings(Collection<ThingAttribute> things)The things.StringtoString()Returns a string representation of this object; useful for testing and debugging.ListThingsResultwithNextToken(String nextToken)A token used to retrieve the next value.ListThingsResultwithThings(ThingAttribute... things)The things.ListThingsResultwithThings(Collection<ThingAttribute> things)The things.
-
-
-
Method Detail
-
getThings
public List<ThingAttribute> getThings()
The things.
- Returns:
- The things.
-
setThings
public void setThings(Collection<ThingAttribute> things)
The things.
- Parameters:
things- The things.
-
withThings
public ListThingsResult withThings(ThingAttribute... things)
The things.
NOTE: This method appends the values to the existing list (if any). Use
setThings(java.util.Collection)orwithThings(java.util.Collection)if you want to override the existing values.- Parameters:
things- The things.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withThings
public ListThingsResult withThings(Collection<ThingAttribute> things)
The things.
- Parameters:
things- The things.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
public void setNextToken(String nextToken)
A token used to retrieve the next value.
- Parameters:
nextToken- A token used to retrieve the next value.
-
getNextToken
public String getNextToken()
A token used to retrieve the next value.
- Returns:
- A token used to retrieve the next value.
-
withNextToken
public ListThingsResult withNextToken(String nextToken)
A token used to retrieve the next value.
- Parameters:
nextToken- A token used to retrieve the next value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListThingsResult clone()
-
-