@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.
|
List<ThingTypeDefinition> |
getThingTypes()
The thing types.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token for the next set of results.
|
void |
setThingTypes(Collection<ThingTypeDefinition> thingTypes)
The thing types.
|
String |
toString()
Returns a string representation of this object.
|
ListThingTypesResult |
withNextToken(String nextToken)
The token for the next set of results.
|
ListThingTypesResult |
withThingTypes(Collection<ThingTypeDefinition> thingTypes)
The thing types.
|
ListThingTypesResult |
withThingTypes(ThingTypeDefinition... thingTypes)
The thing types.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public 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. Will not be returned if operation has returned all results.
nextToken
- The token for the next set of results. Will not be returned if operation has returned all results.public String getNextToken()
The token for the next set of results. Will not be returned if operation has returned all results.
public ListThingTypesResult withNextToken(String nextToken)
The token for the next set of results. Will not be returned if operation has returned all results.
nextToken
- The token for the next set of results. Will not be returned if operation has returned all results.public String toString()
toString
in class Object
Object.toString()
public ListThingTypesResult clone()