@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, 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 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.GatewayResponseType
public String getResponseType()
The response type of the associated GatewayResponse.
GatewayResponseType
public GetGatewayResponseRequest withResponseType(String responseType)
The response type of the associated GatewayResponse.
responseType
- The response type of the associated GatewayResponse.GatewayResponseType
public void setResponseType(GatewayResponseType responseType)
The response type of the associated GatewayResponse.
responseType
- The response type of the associated GatewayResponse.GatewayResponseType
public GetGatewayResponseRequest withResponseType(GatewayResponseType responseType)
The response type of the associated GatewayResponse.
responseType
- The response type of the associated GatewayResponse.GatewayResponseType
public String toString()
toString
in class Object
Object.toString()
public GetGatewayResponseRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()