public class ListThingTypesRequest extends AmazonWebServiceRequest implements Serializable
Lists the existing thing types.
| Constructor and Description |
|---|
ListThingTypesRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Integer |
getMaxResults()
The maximum number of results to return in this operation.
|
String |
getNextToken()
The token for the next set of results, or null if there are no
additional results.
|
String |
getThingTypeName()
The name of the thing type.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
The maximum number of results to return in this operation.
|
void |
setNextToken(String nextToken)
The token for the next set of results, or null if there are no
additional results.
|
void |
setThingTypeName(String thingTypeName)
The name of the thing type.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListThingTypesRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return in this operation.
|
ListThingTypesRequest |
withNextToken(String nextToken)
The token for the next set of results, or null if there are no
additional results.
|
ListThingTypesRequest |
withThingTypeName(String thingTypeName)
The name of the thing type.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic 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 ListThingTypesRequest 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 Integer getMaxResults()
The maximum number of results to return in this operation.
Constraints:
Range: 1 - 10000
The maximum number of results to return in this operation.
public void setMaxResults(Integer maxResults)
The maximum number of results to return in this operation.
Constraints:
Range: 1 - 10000
maxResults - The maximum number of results to return in this operation.
public ListThingTypesRequest withMaxResults(Integer maxResults)
The maximum number of results to return in this operation.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 - 10000
maxResults - The maximum number of results to return in this operation.
public String getThingTypeName()
The name of the thing type.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
The name of the thing type.
public void setThingTypeName(String thingTypeName)
The name of the thing type.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
thingTypeName - The name of the thing type.
public ListThingTypesRequest withThingTypeName(String thingTypeName)
The name of the thing type.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
thingTypeName - The name of the thing type.
public String toString()
toString in class ObjectObject.toString()Copyright © 2017. All rights reserved.