Class CfnRouteV2Props.Builder
java.lang.Object
software.amazon.awscdk.services.apigateway.CfnRouteV2Props.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRouteV2Props>
- Enclosing interface:
- CfnRouteV2Props
@Stability(Deprecated)
@Deprecated
public static final class CfnRouteV2Props.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRouteV2Props>
Deprecated.
A builder for
CfnRouteV2Props-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.apiKeyRequired(Boolean apiKeyRequired) Deprecated.apiKeyRequired(IResolvable apiKeyRequired) Deprecated.authorizationScopes(List<String> authorizationScopes) Deprecated.authorizationType(String authorizationType) Deprecated.authorizerId(String authorizerId) Deprecated.build()Deprecated.modelSelectionExpression(String modelSelectionExpression) Deprecated.operationName(String operationName) Deprecated.requestModels(Object requestModels) Deprecated.requestParameters(Object requestParameters) Deprecated.Deprecated.routeResponseSelectionExpression(String routeResponseSelectionExpression) Deprecated.Deprecated.
-
Constructor Details
-
Builder
public Builder()Deprecated.
-
-
Method Details
-
apiId
Deprecated.Sets the value ofCfnRouteV2Props.getApiId()- Parameters:
apiId-AWS::ApiGatewayV2::Route.ApiId. This parameter is required.- Returns:
this
-
routeKey
Deprecated.Sets the value ofCfnRouteV2Props.getRouteKey()- Parameters:
routeKey-AWS::ApiGatewayV2::Route.RouteKey. This parameter is required.- Returns:
this
-
apiKeyRequired
@Stability(Deprecated) @Deprecated public CfnRouteV2Props.Builder apiKeyRequired(Boolean apiKeyRequired) Deprecated.Sets the value ofCfnRouteV2Props.getApiKeyRequired()- Parameters:
apiKeyRequired-AWS::ApiGatewayV2::Route.ApiKeyRequired.- Returns:
this
-
apiKeyRequired
@Stability(Deprecated) @Deprecated public CfnRouteV2Props.Builder apiKeyRequired(IResolvable apiKeyRequired) Deprecated.Sets the value ofCfnRouteV2Props.getApiKeyRequired()- Parameters:
apiKeyRequired-AWS::ApiGatewayV2::Route.ApiKeyRequired.- Returns:
this
-
authorizationScopes
@Stability(Deprecated) @Deprecated public CfnRouteV2Props.Builder authorizationScopes(List<String> authorizationScopes) Deprecated.Sets the value ofCfnRouteV2Props.getAuthorizationScopes()- Parameters:
authorizationScopes-AWS::ApiGatewayV2::Route.AuthorizationScopes.- Returns:
this
-
authorizationType
@Stability(Deprecated) @Deprecated public CfnRouteV2Props.Builder authorizationType(String authorizationType) Deprecated.Sets the value ofCfnRouteV2Props.getAuthorizationType()- Parameters:
authorizationType-AWS::ApiGatewayV2::Route.AuthorizationType.- Returns:
this
-
authorizerId
Deprecated.Sets the value ofCfnRouteV2Props.getAuthorizerId()- Parameters:
authorizerId-AWS::ApiGatewayV2::Route.AuthorizerId.- Returns:
this
-
modelSelectionExpression
@Stability(Deprecated) @Deprecated public CfnRouteV2Props.Builder modelSelectionExpression(String modelSelectionExpression) Deprecated.Sets the value ofCfnRouteV2Props.getModelSelectionExpression()- Parameters:
modelSelectionExpression-AWS::ApiGatewayV2::Route.ModelSelectionExpression.- Returns:
this
-
operationName
@Stability(Deprecated) @Deprecated public CfnRouteV2Props.Builder operationName(String operationName) Deprecated.Sets the value ofCfnRouteV2Props.getOperationName()- Parameters:
operationName-AWS::ApiGatewayV2::Route.OperationName.- Returns:
this
-
requestModels
@Stability(Deprecated) @Deprecated public CfnRouteV2Props.Builder requestModels(Object requestModels) Deprecated.Sets the value ofCfnRouteV2Props.getRequestModels()- Parameters:
requestModels-AWS::ApiGatewayV2::Route.RequestModels.- Returns:
this
-
requestParameters
@Stability(Deprecated) @Deprecated public CfnRouteV2Props.Builder requestParameters(Object requestParameters) Deprecated.Sets the value ofCfnRouteV2Props.getRequestParameters()- Parameters:
requestParameters-AWS::ApiGatewayV2::Route.RequestParameters.- Returns:
this
-
routeResponseSelectionExpression
@Stability(Deprecated) @Deprecated public CfnRouteV2Props.Builder routeResponseSelectionExpression(String routeResponseSelectionExpression) Deprecated.Sets the value ofCfnRouteV2Props.getRouteResponseSelectionExpression()- Parameters:
routeResponseSelectionExpression-AWS::ApiGatewayV2::Route.RouteResponseSelectionExpression.- Returns:
this
-
target
Deprecated.Sets the value ofCfnRouteV2Props.getTarget()- Parameters:
target-AWS::ApiGatewayV2::Route.Target.- Returns:
this
-
build
Deprecated.Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRouteV2Props>- Returns:
- a new instance of
CfnRouteV2Props - Throws:
NullPointerException- if any required attribute was not provided
-