public class ListThingTypesResult
extends java.lang.Object
implements java.io.Serializable
The output for the ListThingTypes operation.
Constructor and Description |
---|
ListThingTypesResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getNextToken()
The token for the next set of results.
|
java.util.List<ThingTypeDefinition> |
getThingTypes()
The thing types.
|
int |
hashCode() |
void |
setNextToken(java.lang.String nextToken)
The token for the next set of results.
|
void |
setThingTypes(java.util.Collection<ThingTypeDefinition> thingTypes)
The thing types.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListThingTypesResult |
withNextToken(java.lang.String nextToken)
The token for the next set of results.
|
ListThingTypesResult |
withThingTypes(java.util.Collection<ThingTypeDefinition> thingTypes)
The thing types.
|
ListThingTypesResult |
withThingTypes(ThingTypeDefinition... thingTypes)
The thing types.
|
public java.util.List<ThingTypeDefinition> getThingTypes()
The thing types.
The thing types.
public void setThingTypes(java.util.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(java.util.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 java.lang.String getNextToken()
The token for the next set of results. Will not be returned if operation has returned all results.
The token for the next set of results. Will not be returned if operation has returned all results.
public void setNextToken(java.lang.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 ListThingTypesResult withNextToken(java.lang.String nextToken)
The token for 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 for 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.