@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetGatewayResponseRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Gets a GatewayResponse of a specified response type on the given RestApi.
NOOP| Constructor and Description |
|---|
GetGatewayResponseRequest() |
| Modifier and Type | Method and Description |
|---|---|
GetGatewayResponseRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getResponseType()
The response type of the associated GatewayResponse.
|
String |
getRestApiId()
The string identifier of the associated RestApi.
|
int |
hashCode() |
void |
setResponseType(GatewayResponseType responseType)
The response type of the associated GatewayResponse.
|
void |
setResponseType(String responseType)
The response type of the associated GatewayResponse.
|
void |
setRestApiId(String restApiId)
The string identifier of the associated RestApi.
|
String |
toString()
Returns a string representation of this object.
|
GetGatewayResponseRequest |
withResponseType(GatewayResponseType responseType)
The response type of the associated GatewayResponse.
|
GetGatewayResponseRequest |
withResponseType(String responseType)
The response type of the associated GatewayResponse.
|
GetGatewayResponseRequest |
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, withSdkRequestTimeoutpublic 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 GetGatewayResponseRequest withRestApiId(String restApiId)
The string identifier of the associated RestApi.
restApiId - The string identifier of the associated RestApi.public void setResponseType(String responseType)
The response type of the associated GatewayResponse.
responseType - The response type of the associated GatewayResponse.GatewayResponseTypepublic String getResponseType()
The response type of the associated GatewayResponse.
GatewayResponseTypepublic GetGatewayResponseRequest withResponseType(String responseType)
The response type of the associated GatewayResponse.
responseType - The response type of the associated GatewayResponse.GatewayResponseTypepublic void setResponseType(GatewayResponseType responseType)
The response type of the associated GatewayResponse.
responseType - The response type of the associated GatewayResponse.GatewayResponseTypepublic GetGatewayResponseRequest withResponseType(GatewayResponseType responseType)
The response type of the associated GatewayResponse.
responseType - The response type of the associated GatewayResponse.GatewayResponseTypepublic String toString()
toString in class ObjectObject.toString()public GetGatewayResponseRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()