Class CfnRouteResponseV2Props.Builder
java.lang.Object
software.amazon.awscdk.services.apigateway.CfnRouteResponseV2Props.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRouteResponseV2Props>
- Enclosing interface:
CfnRouteResponseV2Props
@Stability(Deprecated)
@Deprecated
public static final class CfnRouteResponseV2Props.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRouteResponseV2Props>
Deprecated.
A builder for
CfnRouteResponseV2Props
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.build()
Deprecated.modelSelectionExpression
(String modelSelectionExpression) Deprecated.responseModels
(Object responseModels) Deprecated.responseParameters
(Object responseParameters) Deprecated.Deprecated.routeResponseKey
(String routeResponseKey) Deprecated.
-
Constructor Details
-
Builder
public Builder()Deprecated.
-
-
Method Details
-
apiId
Deprecated.Sets the value ofCfnRouteResponseV2Props.getApiId()
- Parameters:
apiId
-AWS::ApiGatewayV2::RouteResponse.ApiId
. This parameter is required.- Returns:
this
-
routeId
Deprecated.Sets the value ofCfnRouteResponseV2Props.getRouteId()
- Parameters:
routeId
-AWS::ApiGatewayV2::RouteResponse.RouteId
. This parameter is required.- Returns:
this
-
routeResponseKey
@Stability(Deprecated) @Deprecated public CfnRouteResponseV2Props.Builder routeResponseKey(String routeResponseKey) Deprecated.Sets the value ofCfnRouteResponseV2Props.getRouteResponseKey()
- Parameters:
routeResponseKey
-AWS::ApiGatewayV2::RouteResponse.RouteResponseKey
. This parameter is required.- Returns:
this
-
modelSelectionExpression
@Stability(Deprecated) @Deprecated public CfnRouteResponseV2Props.Builder modelSelectionExpression(String modelSelectionExpression) Deprecated.Sets the value ofCfnRouteResponseV2Props.getModelSelectionExpression()
- Parameters:
modelSelectionExpression
-AWS::ApiGatewayV2::RouteResponse.ModelSelectionExpression
.- Returns:
this
-
responseModels
@Stability(Deprecated) @Deprecated public CfnRouteResponseV2Props.Builder responseModels(Object responseModels) Deprecated.Sets the value ofCfnRouteResponseV2Props.getResponseModels()
- Parameters:
responseModels
-AWS::ApiGatewayV2::RouteResponse.ResponseModels
.- Returns:
this
-
responseParameters
@Stability(Deprecated) @Deprecated public CfnRouteResponseV2Props.Builder responseParameters(Object responseParameters) Deprecated.Sets the value ofCfnRouteResponseV2Props.getResponseParameters()
- Parameters:
responseParameters
-AWS::ApiGatewayV2::RouteResponse.ResponseParameters
.- Returns:
this
-
build
Deprecated.Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnRouteResponseV2Props>
- Returns:
- a new instance of
CfnRouteResponseV2Props
- Throws:
NullPointerException
- if any required attribute was not provided
-