public class ListThingTypesResult extends Object implements Serializable
The output for the ListThingTypes operation.
| Constructor and Description |
|---|
ListThingTypesResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getNextToken()
The token for the next set of results, or null if there are no
additional results.
|
List<ThingTypeDefinition> |
getThingTypes()
The thing types.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token for the next set of results, or null if there are no
additional results.
|
void |
setThingTypes(Collection<ThingTypeDefinition> thingTypes)
The thing types.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListThingTypesResult |
withNextToken(String nextToken)
The token for the next set of results, or null if there are no
additional results.
|
ListThingTypesResult |
withThingTypes(Collection<ThingTypeDefinition> thingTypes)
The thing types.
|
ListThingTypesResult |
withThingTypes(ThingTypeDefinition... thingTypes)
The thing types.
|
public List<ThingTypeDefinition> getThingTypes()
The thing types.
The thing types.
public void setThingTypes(Collection<ThingTypeDefinition> thingTypes)
The thing types.
thingTypes - The thing types.
public ListThingTypesResult withThingTypes(ThingTypeDefinition... thingTypes)
The thing types.
Returns a reference to this object so that method calls can be chained together.
thingTypes - The thing types.
public ListThingTypesResult withThingTypes(Collection<ThingTypeDefinition> thingTypes)
The thing types.
Returns a reference to this object so that method calls can be chained together.
thingTypes - The thing types.
public String getNextToken()
The token for the next set of results, or null if there are no additional results.
The token for the next set of results, or null if there are no additional results.
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 ListThingTypesResult withNextToken(String nextToken)
The token for the next set of results, or null if there are no additional results.
Returns a reference to this object so that method calls can be chained together.
nextToken - The token for the next set of results, or null if there are no additional results.
public String toString()
toString in class ObjectObject.toString()Copyright © 2017. All rights reserved.