@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListTypesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
ListTypesRequest() |
| Modifier and Type | Method and Description |
|---|---|
ListTypesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getApiId()
The API ID.
|
String |
getFormat()
The type format: SDL or JSON.
|
Integer |
getMaxResults()
The maximum number of results you want the request to return.
|
String |
getNextToken()
An identifier that was returned from the previous call to this operation, which can be used to return the next
set of items in the list.
|
int |
hashCode() |
void |
setApiId(String apiId)
The API ID.
|
void |
setFormat(String format)
The type format: SDL or JSON.
|
void |
setMaxResults(Integer maxResults)
The maximum number of results you want the request to return.
|
void |
setNextToken(String nextToken)
An identifier that was returned from the previous call to this operation, which can be used to return the next
set of items in the list.
|
String |
toString()
Returns a string representation of this object.
|
ListTypesRequest |
withApiId(String apiId)
The API ID.
|
ListTypesRequest |
withFormat(String format)
The type format: SDL or JSON.
|
ListTypesRequest |
withFormat(TypeDefinitionFormat format)
The type format: SDL or JSON.
|
ListTypesRequest |
withMaxResults(Integer maxResults)
The maximum number of results you want the request to return.
|
ListTypesRequest |
withNextToken(String nextToken)
An identifier that was returned from the previous call to this operation, which can be used to return the next
set of items in the list.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setApiId(String apiId)
The API ID.
apiId - The API ID.public String getApiId()
The API ID.
public ListTypesRequest withApiId(String apiId)
The API ID.
apiId - The API ID.public void setFormat(String format)
The type format: SDL or JSON.
format - The type format: SDL or JSON.TypeDefinitionFormatpublic String getFormat()
The type format: SDL or JSON.
TypeDefinitionFormatpublic ListTypesRequest withFormat(String format)
The type format: SDL or JSON.
format - The type format: SDL or JSON.TypeDefinitionFormatpublic ListTypesRequest withFormat(TypeDefinitionFormat format)
The type format: SDL or JSON.
format - The type format: SDL or JSON.TypeDefinitionFormatpublic void setNextToken(String nextToken)
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
nextToken - An identifier that was returned from the previous call to this operation, which can be used to return the
next set of items in the list.public String getNextToken()
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
public ListTypesRequest withNextToken(String nextToken)
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
nextToken - An identifier that was returned from the previous call to this operation, which can be used to return the
next set of items in the list.public void setMaxResults(Integer maxResults)
The maximum number of results you want the request to return.
maxResults - The maximum number of results you want the request to return.public Integer getMaxResults()
The maximum number of results you want the request to return.
public ListTypesRequest withMaxResults(Integer maxResults)
The maximum number of results you want the request to return.
maxResults - The maximum number of results you want the request to return.public String toString()
toString in class ObjectObject.toString()public ListTypesRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()