Class CfnRouteResponseMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.apigatewayv2.CfnRouteResponseMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRouteResponseMixinProps>
- Enclosing interface:
CfnRouteResponseMixinProps
@Stability(Stable)
public static final class CfnRouteResponseMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRouteResponseMixinProps>
A builder for
CfnRouteResponseMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnRouteResponseMixinProps.getApiId()Sets the value ofCfnRouteResponseMixinProps.getApiId()build()Builds the configured instance.modelSelectionExpression(String modelSelectionExpression) Sets the value ofCfnRouteResponseMixinProps.getModelSelectionExpression()responseModels(Object responseModels) Sets the value ofCfnRouteResponseMixinProps.getResponseModels()responseParameters(Map<String, ? extends Object> responseParameters) Sets the value ofCfnRouteResponseMixinProps.getResponseParameters()responseParameters(IResolvable responseParameters) Sets the value ofCfnRouteResponseMixinProps.getResponseParameters()Sets the value ofCfnRouteResponseMixinProps.getRouteId()Sets the value ofCfnRouteResponseMixinProps.getRouteId()routeResponseKey(String routeResponseKey) Sets the value ofCfnRouteResponseMixinProps.getRouteResponseKey()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
apiId
Sets the value ofCfnRouteResponseMixinProps.getApiId()- Parameters:
apiId- The API identifier.- Returns:
this
-
apiId
Sets the value ofCfnRouteResponseMixinProps.getApiId()- Parameters:
apiId- The API identifier.- Returns:
this
-
modelSelectionExpression
@Stability(Stable) public CfnRouteResponseMixinProps.Builder modelSelectionExpression(String modelSelectionExpression) Sets the value ofCfnRouteResponseMixinProps.getModelSelectionExpression()- Parameters:
modelSelectionExpression- The model selection expression for the route response. Supported only for WebSocket APIs.- Returns:
this
-
responseModels
Sets the value ofCfnRouteResponseMixinProps.getResponseModels()- Parameters:
responseModels- The response models for the route response.- Returns:
this
-
responseParameters
@Stability(Stable) public CfnRouteResponseMixinProps.Builder responseParameters(IResolvable responseParameters) Sets the value ofCfnRouteResponseMixinProps.getResponseParameters()- Parameters:
responseParameters- The route response parameters.- Returns:
this
-
responseParameters
@Stability(Stable) public CfnRouteResponseMixinProps.Builder responseParameters(Map<String, ? extends Object> responseParameters) Sets the value ofCfnRouteResponseMixinProps.getResponseParameters()- Parameters:
responseParameters- The route response parameters.- Returns:
this
-
routeId
Sets the value ofCfnRouteResponseMixinProps.getRouteId()- Parameters:
routeId- The route ID.- Returns:
this
-
routeId
Sets the value ofCfnRouteResponseMixinProps.getRouteId()- Parameters:
routeId- The route ID.- Returns:
this
-
routeResponseKey
@Stability(Stable) public CfnRouteResponseMixinProps.Builder routeResponseKey(String routeResponseKey) Sets the value ofCfnRouteResponseMixinProps.getRouteResponseKey()- Parameters:
routeResponseKey- The route response key.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRouteResponseMixinProps>- Returns:
- a new instance of
CfnRouteResponseMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-