public class GetDeploymentsRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Requests Amazon API Gateway to get information about a Deployments collection.
Modifier and Type | Field and Description |
---|---|
private java.lang.Integer |
limit
The maximum number of Deployment resources in the collection to
get information about.
|
private java.lang.String |
position
The position of the current Deployment resource in the collection
to get information about.
|
private java.lang.String |
restApiId
The identifier of the RestApi resource for the collection of
Deployment resources to get information about.
|
NOOP
Constructor and Description |
---|
GetDeploymentsRequest() |
Modifier and Type | Method and Description |
---|---|
GetDeploymentsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.Integer |
getLimit()
The maximum number of Deployment resources in the collection to
get information about.
|
java.lang.String |
getPosition()
The position of the current Deployment resource in the collection
to get information about.
|
java.lang.String |
getRestApiId()
The identifier of the RestApi resource for the collection of
Deployment resources to get information about.
|
int |
hashCode() |
void |
setLimit(java.lang.Integer limit)
The maximum number of Deployment resources in the collection to
get information about.
|
void |
setPosition(java.lang.String position)
The position of the current Deployment resource in the collection
to get information about.
|
void |
setRestApiId(java.lang.String restApiId)
The identifier of the RestApi resource for the collection of
Deployment resources to get information about.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetDeploymentsRequest |
withLimit(java.lang.Integer limit)
The maximum number of Deployment resources in the collection to
get information about.
|
GetDeploymentsRequest |
withPosition(java.lang.String position)
The position of the current Deployment resource in the collection
to get information about.
|
GetDeploymentsRequest |
withRestApiId(java.lang.String restApiId)
The identifier of the RestApi resource for the collection of
Deployment resources to get information about.
|
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 identifier of the RestApi resource for the collection of Deployment resources to get information about.
private java.lang.String position
The position of the current Deployment resource in the collection to get information about.
private java.lang.Integer limit
The maximum number of Deployment resources 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 identifier of the RestApi resource for the collection of Deployment resources to get information about.
restApiId
- The identifier of the RestApi resource for the collection
of Deployment resources to get information about.public java.lang.String getRestApiId()
The identifier of the RestApi resource for the collection of Deployment resources to get information about.
public GetDeploymentsRequest withRestApiId(java.lang.String restApiId)
The identifier of the RestApi resource for the collection of Deployment resources to get information about.
restApiId
- The identifier of the RestApi resource for the collection
of Deployment resources to get information about.public void setPosition(java.lang.String position)
The position of the current Deployment resource in the collection to get information about.
position
- The position of the current Deployment resource in the
collection to get information about.public java.lang.String getPosition()
The position of the current Deployment resource in the collection to get information about.
public GetDeploymentsRequest withPosition(java.lang.String position)
The position of the current Deployment resource in the collection to get information about.
position
- The position of the current Deployment resource in the
collection to get information about.public void setLimit(java.lang.Integer limit)
The maximum number of Deployment resources 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 Deployment resources 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 Deployment resources in the collection to get information about. The default limit is 25. It should be an integer between 1 - 500.
public GetDeploymentsRequest withLimit(java.lang.Integer limit)
The maximum number of Deployment resources 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 Deployment resources 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 GetDeploymentsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()