@Stability(value=Stable) public static final class CfnGatewayResponseProps.Builder extends Object implements software.amazon.jsii.Builder<CfnGatewayResponseProps>
CfnGatewayResponseProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnGatewayResponseProps.Builder responseType(String responseType)
CfnGatewayResponseProps.getResponseType()responseType - The response type. This parameter is required.
For valid values, see GatewayResponse in the API Gateway API Reference .this@Stability(value=Stable) public CfnGatewayResponseProps.Builder restApiId(String restApiId)
CfnGatewayResponseProps.getRestApiId()restApiId - The identifier of the API. This parameter is required.this@Stability(value=Stable) public CfnGatewayResponseProps.Builder responseParameters(IResolvable responseParameters)
CfnGatewayResponseProps.getResponseParameters()responseParameters - The response parameters (paths, query strings, and headers) for the response.
Duplicates not allowed.this@Stability(value=Stable) public CfnGatewayResponseProps.Builder responseParameters(Map<String,String> responseParameters)
CfnGatewayResponseProps.getResponseParameters()responseParameters - The response parameters (paths, query strings, and headers) for the response.
Duplicates not allowed.this@Stability(value=Stable) public CfnGatewayResponseProps.Builder responseTemplates(IResolvable responseTemplates)
CfnGatewayResponseProps.getResponseTemplates()responseTemplates - The response templates for the response.
Duplicates not allowed.this@Stability(value=Stable) public CfnGatewayResponseProps.Builder responseTemplates(Map<String,String> responseTemplates)
CfnGatewayResponseProps.getResponseTemplates()responseTemplates - The response templates for the response.
Duplicates not allowed.this@Stability(value=Stable) public CfnGatewayResponseProps.Builder statusCode(String statusCode)
CfnGatewayResponseProps.getStatusCode()statusCode - The HTTP status code for the response.this@Stability(value=Stable) public CfnGatewayResponseProps build()
build in interface software.amazon.jsii.Builder<CfnGatewayResponseProps>CfnGatewayResponsePropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.