Class CfnApiV2Props.Builder
java.lang.Object
software.amazon.awscdk.services.apigateway.CfnApiV2Props.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApiV2Props>
- Enclosing interface:
- CfnApiV2Props
@Stability(Deprecated)
@Deprecated
public static final class CfnApiV2Props.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApiV2Props>
Deprecated.
A builder for
CfnApiV2Props-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapiKeySelectionExpression(String apiKeySelectionExpression) Deprecated.Deprecated.Deprecated.bodyS3Location(IResolvable bodyS3Location) Deprecated.bodyS3Location(CfnApiV2.BodyS3LocationProperty bodyS3Location) Deprecated.build()Deprecated.corsConfiguration(IResolvable corsConfiguration) Deprecated.corsConfiguration(CfnApiV2.CorsProperty corsConfiguration) Deprecated.credentialsArn(String credentialsArn) Deprecated.description(String description) Deprecated.disableSchemaValidation(Boolean disableSchemaValidation) Deprecated.disableSchemaValidation(IResolvable disableSchemaValidation) Deprecated.failOnWarnings(Boolean failOnWarnings) Deprecated.failOnWarnings(IResolvable failOnWarnings) Deprecated.Deprecated.protocolType(String protocolType) Deprecated.Deprecated.routeSelectionExpression(String routeSelectionExpression) Deprecated.Deprecated.Deprecated.Deprecated.
-
Constructor Details
-
Builder
public Builder()Deprecated.
-
-
Method Details
-
apiKeySelectionExpression
@Stability(Deprecated) @Deprecated public CfnApiV2Props.Builder apiKeySelectionExpression(String apiKeySelectionExpression) Deprecated.Sets the value ofCfnApiV2Props.getApiKeySelectionExpression()- Parameters:
apiKeySelectionExpression-AWS::ApiGatewayV2::Api.ApiKeySelectionExpression.- Returns:
this
-
basePath
Deprecated.Sets the value ofCfnApiV2Props.getBasePath()- Parameters:
basePath-AWS::ApiGatewayV2::Api.BasePath.- Returns:
this
-
body
Deprecated.Sets the value ofCfnApiV2Props.getBody()- Parameters:
body-AWS::ApiGatewayV2::Api.Body.- Returns:
this
-
bodyS3Location
@Stability(Deprecated) @Deprecated public CfnApiV2Props.Builder bodyS3Location(IResolvable bodyS3Location) Deprecated.Sets the value ofCfnApiV2Props.getBodyS3Location()- Parameters:
bodyS3Location-AWS::ApiGatewayV2::Api.BodyS3Location.- Returns:
this
-
bodyS3Location
@Stability(Deprecated) @Deprecated public CfnApiV2Props.Builder bodyS3Location(CfnApiV2.BodyS3LocationProperty bodyS3Location) Deprecated.Sets the value ofCfnApiV2Props.getBodyS3Location()- Parameters:
bodyS3Location-AWS::ApiGatewayV2::Api.BodyS3Location.- Returns:
this
-
corsConfiguration
@Stability(Deprecated) @Deprecated public CfnApiV2Props.Builder corsConfiguration(IResolvable corsConfiguration) Deprecated.Sets the value ofCfnApiV2Props.getCorsConfiguration()- Parameters:
corsConfiguration-AWS::ApiGatewayV2::Api.CorsConfiguration.- Returns:
this
-
corsConfiguration
@Stability(Deprecated) @Deprecated public CfnApiV2Props.Builder corsConfiguration(CfnApiV2.CorsProperty corsConfiguration) Deprecated.Sets the value ofCfnApiV2Props.getCorsConfiguration()- Parameters:
corsConfiguration-AWS::ApiGatewayV2::Api.CorsConfiguration.- Returns:
this
-
credentialsArn
@Stability(Deprecated) @Deprecated public CfnApiV2Props.Builder credentialsArn(String credentialsArn) Deprecated.Sets the value ofCfnApiV2Props.getCredentialsArn()- Parameters:
credentialsArn-AWS::ApiGatewayV2::Api.CredentialsArn.- Returns:
this
-
description
Deprecated.Sets the value ofCfnApiV2Props.getDescription()- Parameters:
description-AWS::ApiGatewayV2::Api.Description.- Returns:
this
-
disableSchemaValidation
@Stability(Deprecated) @Deprecated public CfnApiV2Props.Builder disableSchemaValidation(Boolean disableSchemaValidation) Deprecated.Sets the value ofCfnApiV2Props.getDisableSchemaValidation()- Parameters:
disableSchemaValidation-AWS::ApiGatewayV2::Api.DisableSchemaValidation.- Returns:
this
-
disableSchemaValidation
@Stability(Deprecated) @Deprecated public CfnApiV2Props.Builder disableSchemaValidation(IResolvable disableSchemaValidation) Deprecated.Sets the value ofCfnApiV2Props.getDisableSchemaValidation()- Parameters:
disableSchemaValidation-AWS::ApiGatewayV2::Api.DisableSchemaValidation.- Returns:
this
-
failOnWarnings
@Stability(Deprecated) @Deprecated public CfnApiV2Props.Builder failOnWarnings(Boolean failOnWarnings) Deprecated.Sets the value ofCfnApiV2Props.getFailOnWarnings()- Parameters:
failOnWarnings-AWS::ApiGatewayV2::Api.FailOnWarnings.- Returns:
this
-
failOnWarnings
@Stability(Deprecated) @Deprecated public CfnApiV2Props.Builder failOnWarnings(IResolvable failOnWarnings) Deprecated.Sets the value ofCfnApiV2Props.getFailOnWarnings()- Parameters:
failOnWarnings-AWS::ApiGatewayV2::Api.FailOnWarnings.- Returns:
this
-
name
Deprecated.Sets the value ofCfnApiV2Props.getName()- Parameters:
name-AWS::ApiGatewayV2::Api.Name.- Returns:
this
-
protocolType
Deprecated.Sets the value ofCfnApiV2Props.getProtocolType()- Parameters:
protocolType-AWS::ApiGatewayV2::Api.ProtocolType.- Returns:
this
-
routeKey
Deprecated.Sets the value ofCfnApiV2Props.getRouteKey()- Parameters:
routeKey-AWS::ApiGatewayV2::Api.RouteKey.- Returns:
this
-
routeSelectionExpression
@Stability(Deprecated) @Deprecated public CfnApiV2Props.Builder routeSelectionExpression(String routeSelectionExpression) Deprecated.Sets the value ofCfnApiV2Props.getRouteSelectionExpression()- Parameters:
routeSelectionExpression-AWS::ApiGatewayV2::Api.RouteSelectionExpression.- Returns:
this
-
tags
Deprecated.Sets the value ofCfnApiV2Props.getTags()- Parameters:
tags-AWS::ApiGatewayV2::Api.Tags.- Returns:
this
-
target
Deprecated.Sets the value ofCfnApiV2Props.getTarget()- Parameters:
target-AWS::ApiGatewayV2::Api.Target.- Returns:
this
-
version
Deprecated.Sets the value ofCfnApiV2Props.getVersion()- Parameters:
version-AWS::ApiGatewayV2::Api.Version.- Returns:
this
-
build
Deprecated.Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnApiV2Props>- Returns:
- a new instance of
CfnApiV2Props - Throws:
NullPointerException- if any required attribute was not provided
-