@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetModelsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Request to list existing Models defined for a RestApi resource.
NOOP
Constructor and Description |
---|
GetModelsRequest() |
Modifier and Type | Method and Description |
---|---|
GetModelsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getLimit()
The maximum number of returned results per page.
|
String |
getPosition()
The current pagination position in the paged result set.
|
String |
getRestApiId()
The string identifier of the associated RestApi.
|
int |
hashCode() |
void |
setLimit(Integer limit)
The maximum number of returned results per page.
|
void |
setPosition(String position)
The current pagination position in the paged result set.
|
void |
setRestApiId(String restApiId)
The string identifier of the associated RestApi.
|
String |
toString()
Returns a string representation of this object.
|
GetModelsRequest |
withLimit(Integer limit)
The maximum number of returned results per page.
|
GetModelsRequest |
withPosition(String position)
The current pagination position in the paged result set.
|
GetModelsRequest |
withRestApiId(String restApiId)
The string identifier of the associated RestApi.
|
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, withSdkRequestTimeout
public void setRestApiId(String restApiId)
The string identifier of the associated RestApi.
restApiId
- The string identifier of the associated RestApi.public String getRestApiId()
The string identifier of the associated RestApi.
public GetModelsRequest withRestApiId(String restApiId)
The string identifier of the associated RestApi.
restApiId
- The string identifier of the associated RestApi.public void setPosition(String position)
The current pagination position in the paged result set.
position
- The current pagination position in the paged result set.public String getPosition()
The current pagination position in the paged result set.
public GetModelsRequest withPosition(String position)
The current pagination position in the paged result set.
position
- The current pagination position in the paged result set.public void setLimit(Integer limit)
The maximum number of returned results per page. The default value is 25 and the maximum value is 500.
limit
- The maximum number of returned results per page. The default value is 25 and the maximum value is 500.public Integer getLimit()
The maximum number of returned results per page. The default value is 25 and the maximum value is 500.
public GetModelsRequest withLimit(Integer limit)
The maximum number of returned results per page. The default value is 25 and the maximum value is 500.
limit
- The maximum number of returned results per page. The default value is 25 and the maximum value is 500.public String toString()
toString
in class Object
Object.toString()
public GetModelsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()