public class GetModelsRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.Integer |
limit
The maximum number of models in the collection to get information about.
|
private java.lang.String |
position
The position of the next set of results in the Models resource to
get information about.
|
private java.lang.String |
restApiId
The RestApi identifier.
|
NOOP
Constructor and Description |
---|
GetModelsRequest() |
Modifier and Type | Method and Description |
---|---|
GetModelsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.Integer |
getLimit()
The maximum number of models in the collection to get information about.
|
java.lang.String |
getPosition()
The position of the next set of results in the Models resource to
get information about.
|
java.lang.String |
getRestApiId()
The RestApi identifier.
|
int |
hashCode() |
void |
setLimit(java.lang.Integer limit)
The maximum number of models in the collection to get information about.
|
void |
setPosition(java.lang.String position)
The position of the next set of results in the Models resource to
get information about.
|
void |
setRestApiId(java.lang.String restApiId)
The RestApi identifier.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetModelsRequest |
withLimit(java.lang.Integer limit)
The maximum number of models in the collection to get information about.
|
GetModelsRequest |
withPosition(java.lang.String position)
The position of the next set of results in the Models resource to
get information about.
|
GetModelsRequest |
withRestApiId(java.lang.String restApiId)
The RestApi identifier.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String restApiId
The RestApi identifier.
private java.lang.String position
The position of the next set of results in the Models resource to get information about.
private java.lang.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.
public void setRestApiId(java.lang.String restApiId)
The RestApi identifier.
restApiId
- The RestApi identifier.public java.lang.String getRestApiId()
The RestApi identifier.
public GetModelsRequest withRestApiId(java.lang.String restApiId)
The RestApi identifier.
restApiId
- The RestApi identifier.public void setPosition(java.lang.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 java.lang.String getPosition()
The position of the next set of results in the Models resource to get information about.
public GetModelsRequest withPosition(java.lang.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(java.lang.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 java.lang.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(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public GetModelsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()