@Stability(value=Stable) public static final class CfnRouteResponse.Builder extends Object implements software.amazon.jsii.Builder<CfnRouteResponse>
CfnRouteResponse.| Modifier and Type | Method and Description |
|---|---|
CfnRouteResponse.Builder |
apiId(String apiId)
The API identifier.
|
CfnRouteResponse |
build() |
static CfnRouteResponse.Builder |
create(software.constructs.Construct scope,
String id) |
CfnRouteResponse.Builder |
modelSelectionExpression(String modelSelectionExpression)
The model selection expression for the route response.
|
CfnRouteResponse.Builder |
responseModels(Object responseModels)
The response models for the route response.
|
CfnRouteResponse.Builder |
responseParameters(Object responseParameters)
The route response parameters.
|
CfnRouteResponse.Builder |
routeId(String routeId)
The route ID.
|
CfnRouteResponse.Builder |
routeResponseKey(String routeResponseKey)
The route response key.
|
@Stability(value=Stable) public static CfnRouteResponse.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.CfnRouteResponse.ParameterConstraintsProperty.Builder.@Stability(value=Stable) public CfnRouteResponse.Builder apiId(String apiId)
apiId - The API identifier. This parameter is required.this@Stability(value=Stable) public CfnRouteResponse.Builder routeId(String routeId)
routeId - The route ID. This parameter is required.this@Stability(value=Stable) public CfnRouteResponse.Builder routeResponseKey(String routeResponseKey)
routeResponseKey - The route response key. This parameter is required.this@Stability(value=Stable) public CfnRouteResponse.Builder modelSelectionExpression(String modelSelectionExpression)
Supported only for WebSocket APIs.
modelSelectionExpression - The model selection expression for the route response. This parameter is required.this@Stability(value=Stable) public CfnRouteResponse.Builder responseModels(Object responseModels)
responseModels - The response models for the route response. This parameter is required.this@Stability(value=Stable) public CfnRouteResponse.Builder responseParameters(Object responseParameters)
responseParameters - The route response parameters. This parameter is required.this@Stability(value=Stable) public CfnRouteResponse build()
build in interface software.amazon.jsii.Builder<CfnRouteResponse>Copyright © 2022. All rights reserved.