@Stability(value=Stable) public static final class CfnGatewayResponse.Builder extends Object implements software.amazon.jsii.Builder<CfnGatewayResponse>
CfnGatewayResponse.| Modifier and Type | Method and Description |
|---|---|
CfnGatewayResponse |
build() |
static CfnGatewayResponse.Builder |
create(software.constructs.Construct scope,
String id) |
CfnGatewayResponse.Builder |
responseParameters(IResolvable responseParameters)
The response parameters (paths, query strings, and headers) for the response.
|
CfnGatewayResponse.Builder |
responseParameters(Map<String,String> responseParameters)
The response parameters (paths, query strings, and headers) for the response.
|
CfnGatewayResponse.Builder |
responseTemplates(IResolvable responseTemplates)
The response templates for the response.
|
CfnGatewayResponse.Builder |
responseTemplates(Map<String,String> responseTemplates)
The response templates for the response.
|
CfnGatewayResponse.Builder |
responseType(String responseType)
The response type.
|
CfnGatewayResponse.Builder |
restApiId(String restApiId)
The identifier of the API.
|
CfnGatewayResponse.Builder |
statusCode(String statusCode)
The HTTP status code for the response.
|
@Stability(value=Stable) public static CfnGatewayResponse.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnGatewayResponse.Builder.@Stability(value=Stable) public CfnGatewayResponse.Builder responseType(String responseType)
For valid values, see GatewayResponse in the API Gateway API Reference .
responseType - The response type. This parameter is required.this@Stability(value=Stable) public CfnGatewayResponse.Builder restApiId(String restApiId)
restApiId - The identifier of the API. This parameter is required.this@Stability(value=Stable) public CfnGatewayResponse.Builder responseParameters(IResolvable responseParameters)
Duplicates not allowed.
responseParameters - The response parameters (paths, query strings, and headers) for the response. This parameter is required.this@Stability(value=Stable) public CfnGatewayResponse.Builder responseParameters(Map<String,String> responseParameters)
Duplicates not allowed.
responseParameters - The response parameters (paths, query strings, and headers) for the response. This parameter is required.this@Stability(value=Stable) public CfnGatewayResponse.Builder responseTemplates(IResolvable responseTemplates)
Duplicates not allowed.
responseTemplates - The response templates for the response. This parameter is required.this@Stability(value=Stable) public CfnGatewayResponse.Builder responseTemplates(Map<String,String> responseTemplates)
Duplicates not allowed.
responseTemplates - The response templates for the response. This parameter is required.this@Stability(value=Stable) public CfnGatewayResponse.Builder statusCode(String statusCode)
statusCode - The HTTP status code for the response. This parameter is required.this@Stability(value=Stable) public CfnGatewayResponse build()
build in interface software.amazon.jsii.Builder<CfnGatewayResponse>Copyright © 2022. All rights reserved.