@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateGatewayResponseRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Updates a GatewayResponse of a specified response type on the given RestApi.
NOOP| Constructor and Description | 
|---|
| UpdateGatewayResponseRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| UpdateGatewayResponseRequest | clone()Creates a shallow clone of this object for all fields except the handler context. | 
| boolean | equals(Object obj) | 
| List<PatchOperation> | getPatchOperations()
 For more information about supported patch operations, see Patch Operations. | 
| String | getResponseType()
 The response type of the associated GatewayResponse. | 
| String | getRestApiId()
 The string identifier of the associated RestApi. | 
| int | hashCode() | 
| void | setPatchOperations(Collection<PatchOperation> patchOperations)
 For more information about supported patch operations, see Patch Operations. | 
| 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. | 
| UpdateGatewayResponseRequest | withPatchOperations(Collection<PatchOperation> patchOperations)
 For more information about supported patch operations, see Patch Operations. | 
| UpdateGatewayResponseRequest | withPatchOperations(PatchOperation... patchOperations)
 For more information about supported patch operations, see Patch Operations. | 
| UpdateGatewayResponseRequest | withResponseType(GatewayResponseType responseType)
 The response type of the associated GatewayResponse. | 
| UpdateGatewayResponseRequest | withResponseType(String responseType)
 The response type of the associated GatewayResponse. | 
| UpdateGatewayResponseRequest | 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 UpdateGatewayResponseRequest 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 UpdateGatewayResponseRequest 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 UpdateGatewayResponseRequest withResponseType(GatewayResponseType responseType)
The response type of the associated GatewayResponse.
responseType - The response type of the associated GatewayResponse.GatewayResponseTypepublic List<PatchOperation> getPatchOperations()
For more information about supported patch operations, see Patch Operations.
public void setPatchOperations(Collection<PatchOperation> patchOperations)
For more information about supported patch operations, see Patch Operations.
patchOperations - For more information about supported patch operations, see Patch Operations.public UpdateGatewayResponseRequest withPatchOperations(PatchOperation... patchOperations)
For more information about supported patch operations, see Patch Operations.
 NOTE: This method appends the values to the existing list (if any). Use
 setPatchOperations(java.util.Collection) or withPatchOperations(java.util.Collection) if you
 want to override the existing values.
 
patchOperations - For more information about supported patch operations, see Patch Operations.public UpdateGatewayResponseRequest withPatchOperations(Collection<PatchOperation> patchOperations)
For more information about supported patch operations, see Patch Operations.
patchOperations - For more information about supported patch operations, see Patch Operations.public String toString()
toString in class ObjectObject.toString()public UpdateGatewayResponseRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()