@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetGatewayResponsesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Gets the GatewayResponses collection on the given RestApi. If an API developer has not added any definitions for gateway responses, the result will be the Amazon API Gateway-generated default GatewayResponses collection for the supported response types.
NOOP
Constructor and Description |
---|
GetGatewayResponsesRequest() |
Modifier and Type | Method and Description |
---|---|
GetGatewayResponsesRequest |
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; useful for testing and debugging.
|
GetGatewayResponsesRequest |
withLimit(Integer limit)
The maximum number of returned results per page.
|
GetGatewayResponsesRequest |
withPosition(String position)
The current pagination position in the paged result set.
|
GetGatewayResponsesRequest |
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 GetGatewayResponsesRequest 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. The GatewayResponse collection does not support pagination and the position does not apply here.
position
- The current pagination position in the paged result set. The GatewayResponse collection does not
support pagination and the position does not apply here.public String getPosition()
The current pagination position in the paged result set. The GatewayResponse collection does not support pagination and the position does not apply here.
public GetGatewayResponsesRequest withPosition(String position)
The current pagination position in the paged result set. The GatewayResponse collection does not support pagination and the position does not apply here.
position
- The current pagination position in the paged result set. The GatewayResponse collection does not
support pagination and the position does not apply here.public void setLimit(Integer limit)
The maximum number of returned results per page. The GatewayResponses collection does not support pagination and the limit does not apply here.
limit
- The maximum number of returned results per page. The GatewayResponses collection does not support
pagination and the limit does not apply here.public Integer getLimit()
The maximum number of returned results per page. The GatewayResponses collection does not support pagination and the limit does not apply here.
public GetGatewayResponsesRequest withLimit(Integer limit)
The maximum number of returned results per page. The GatewayResponses collection does not support pagination and the limit does not apply here.
limit
- The maximum number of returned results per page. The GatewayResponses collection does not support
pagination and the limit does not apply here.public String toString()
toString
in class Object
Object.toString()
public GetGatewayResponsesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.