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 to retrieve the next set of 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 to retrieve the next set of 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 to retrieve the next set of 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 to retrieve the next set of results.
The token to retrieve the next set of results.
public void setNextToken(String nextToken)
The token to retrieve the next set of results.
nextToken - The token to retrieve the next set of results.
public ListThingTypesRequest withNextToken(String nextToken)
The token to retrieve the next set of results.
Returns a reference to this object so that method calls can be chained together.
nextToken - The token to retrieve the next set of results.
public Integer getMaxResults()
The maximum number of results to return in this operation.
Constraints:
Range: 1 - 250
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 - 250
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 - 250
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 © 2020. All rights reserved.