public class GetModelsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetModelsRequest() |
Modifier and Type | Method and Description |
---|---|
GetModelsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
Integer |
getLimit()
The maximum number of models in the collection to get information about.
|
String |
getPosition()
The position of the next set of results in the Models resource to get information about.
|
String |
getRestApiId()
The RestApi identifier.
|
int |
hashCode() |
void |
setLimit(Integer limit)
The maximum number of models in the collection to get information about.
|
void |
setPosition(String position)
The position of the next set of results in the Models resource to get information about.
|
void |
setRestApiId(String restApiId)
The RestApi identifier.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
GetModelsRequest |
withLimit(Integer limit)
The maximum number of models in the collection to get information about.
|
GetModelsRequest |
withPosition(String position)
The position of the next set of results in the Models resource to get information about.
|
GetModelsRequest |
withRestApiId(String restApiId)
The RestApi identifier.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setRestApiId(String restApiId)
The RestApi identifier.
restApiId
- The RestApi identifier.public GetModelsRequest withRestApiId(String restApiId)
The RestApi identifier.
restApiId
- The RestApi identifier.public void setPosition(String position)
The position of the next set of results in the Models resource to get information about.
position
- The position of the next set of results in the Models resource to get information about.public String getPosition()
The position of the next set of results in the Models resource to get information about.
public GetModelsRequest withPosition(String position)
The position of the next set of results in the Models resource to get information about.
position
- The position of the next set of results in the Models resource to get information about.public void setLimit(Integer limit)
The maximum number of models in the collection to get information about. The default limit is 25. It should be an integer between 1 - 500.
limit
- The maximum number of models in the collection to get information about. The default limit is 25. It
should be an integer between 1 - 500.public Integer getLimit()
The maximum number of models in the collection to get information about. The default limit is 25. It should be an integer between 1 - 500.
public GetModelsRequest withLimit(Integer limit)
The maximum number of models in the collection to get information about. The default limit is 25. It should be an integer between 1 - 500.
limit
- The maximum number of models in the collection to get information about. The default limit is 25. It
should be an integer between 1 - 500.public String toString()
toString
in class Object
Object.toString()
public GetModelsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.