Class CfnRouteResponsePropsMixin.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.apigatewayv2.mixins.CfnRouteResponsePropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRouteResponsePropsMixin>
- Enclosing class:
CfnRouteResponsePropsMixin
@Stability(Stable)
public static final class CfnRouteResponsePropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRouteResponsePropsMixin>
A fluent builder for
CfnRouteResponsePropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionThe API identifier.build()create()create(CfnPropertyMixinOptions options) modelSelectionExpression(String modelSelectionExpression) The model selection expression for the route response.responseModels(Object responseModels) The response models for the route response.responseParameters(Map<String, ? extends Object> responseParameters) The route response parameters.responseParameters(IResolvable responseParameters) The route response parameters.The route ID.routeResponseKey(String routeResponseKey) The route response key.
-
Method Details
-
create
@Stability(Stable) public static CfnRouteResponsePropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnRouteResponsePropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnRouteResponsePropsMixin.Builder.
-
apiId
The API identifier.- Parameters:
apiId- The API identifier. This parameter is required.- Returns:
this- See Also:
-
modelSelectionExpression
@Stability(Stable) public CfnRouteResponsePropsMixin.Builder modelSelectionExpression(String modelSelectionExpression) The model selection expression for the route response.Supported only for WebSocket APIs.
- Parameters:
modelSelectionExpression- The model selection expression for the route response. This parameter is required.- Returns:
this- See Also:
-
responseModels
The response models for the route response.- Parameters:
responseModels- The response models for the route response. This parameter is required.- Returns:
this- See Also:
-
responseParameters
@Stability(Stable) public CfnRouteResponsePropsMixin.Builder responseParameters(IResolvable responseParameters) The route response parameters.- Parameters:
responseParameters- The route response parameters. This parameter is required.- Returns:
this- See Also:
-
responseParameters
@Stability(Stable) public CfnRouteResponsePropsMixin.Builder responseParameters(Map<String, ? extends Object> responseParameters) The route response parameters.- Parameters:
responseParameters- The route response parameters. This parameter is required.- Returns:
this- See Also:
-
routeId
The route ID.- Parameters:
routeId- The route ID. This parameter is required.- Returns:
this- See Also:
-
routeResponseKey
@Stability(Stable) public CfnRouteResponsePropsMixin.Builder routeResponseKey(String routeResponseKey) The route response key.- Parameters:
routeResponseKey- The route response key. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRouteResponsePropsMixin>- Returns:
- a newly built instance of
CfnRouteResponsePropsMixin.
-