@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListThingTypesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
The output for the ListThingTypes operation.
| Constructor and Description |
|---|
ListThingTypesResult() |
| Modifier and Type | Method and Description |
|---|---|
ListThingTypesResult |
clone() |
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.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<ThingTypeDefinition> getThingTypes()
The thing types.
public void setThingTypes(Collection<ThingTypeDefinition> thingTypes)
The thing types.
thingTypes - The thing types.public ListThingTypesResult withThingTypes(ThingTypeDefinition... thingTypes)
The thing types.
NOTE: This method appends the values to the existing list (if any). Use
setThingTypes(java.util.Collection) or withThingTypes(java.util.Collection) if you want to
override the existing values.
thingTypes - The thing types.public ListThingTypesResult withThingTypes(Collection<ThingTypeDefinition> thingTypes)
The thing types.
thingTypes - The thing types.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 String getNextToken()
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.
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()public ListThingTypesResult clone()
Copyright © 2017. All rights reserved.