Interface GatewayResponse.Builder
- All Superinterfaces:
 Buildable,CopyableBuilder<GatewayResponse.Builder,,GatewayResponse> SdkBuilder<GatewayResponse.Builder,,GatewayResponse> SdkPojo
- Enclosing class:
 GatewayResponse
public static interface GatewayResponse.Builder
extends SdkPojo, CopyableBuilder<GatewayResponse.Builder,GatewayResponse> 
- 
Method Summary
Modifier and TypeMethodDescriptiondefaultResponse(Boolean defaultResponse) A Boolean flag to indicate whether this GatewayResponse is the default gateway response (true) or not (false).responseParameters(Map<String, String> responseParameters) Response parameters (paths, query strings and headers) of the GatewayResponse as a string-to-string map of key-value pairs.responseTemplates(Map<String, String> responseTemplates) Response templates of the GatewayResponse as a string-to-string map of key-value pairs.responseType(String responseType) The response type of the associated GatewayResponse.responseType(GatewayResponseType responseType) The response type of the associated GatewayResponse.statusCode(String statusCodeValue) The HTTP status code for this GatewayResponse.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields 
- 
Method Details
- 
responseType
The response type of the associated GatewayResponse.
- Parameters:
 responseType- The response type of the associated GatewayResponse.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
responseType
The response type of the associated GatewayResponse.
- Parameters:
 responseType- The response type of the associated GatewayResponse.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
statusCode
The HTTP status code for this GatewayResponse.
- Parameters:
 statusCodeValue- The HTTP status code for this GatewayResponse.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
responseParameters
Response parameters (paths, query strings and headers) of the GatewayResponse as a string-to-string map of key-value pairs.
- Parameters:
 responseParameters- Response parameters (paths, query strings and headers) of the GatewayResponse as a string-to-string map of key-value pairs.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
responseTemplates
Response templates of the GatewayResponse as a string-to-string map of key-value pairs.
- Parameters:
 responseTemplates- Response templates of the GatewayResponse as a string-to-string map of key-value pairs.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
defaultResponse
A Boolean flag to indicate whether this GatewayResponse is the default gateway response (
true) or not (false). A default gateway response is one generated by API Gateway without any customization by an API developer.- Parameters:
 defaultResponse- A Boolean flag to indicate whether this GatewayResponse is the default gateway response (true) or not (false). A default gateway response is one generated by API Gateway without any customization by an API developer.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 
 -