Class CfnDeploymentV2Props.Builder
java.lang.Object
software.amazon.awscdk.services.apigateway.CfnDeploymentV2Props.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeploymentV2Props>
- Enclosing interface:
- CfnDeploymentV2Props
@Stability(Deprecated)
@Deprecated
public static final class CfnDeploymentV2Props.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDeploymentV2Props>
Deprecated.
A builder for
CfnDeploymentV2Props
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.build()
Deprecated.description
(String description) Deprecated.Deprecated.
-
Constructor Details
-
Builder
public Builder()Deprecated.
-
-
Method Details
-
apiId
Deprecated.Sets the value ofCfnDeploymentV2Props.getApiId()
- Parameters:
apiId
-AWS::ApiGatewayV2::Deployment.ApiId
. This parameter is required.- Returns:
this
-
description
@Stability(Deprecated) @Deprecated public CfnDeploymentV2Props.Builder description(String description) Deprecated.Sets the value ofCfnDeploymentV2Props.getDescription()
- Parameters:
description
-AWS::ApiGatewayV2::Deployment.Description
.- Returns:
this
-
stageName
Deprecated.Sets the value ofCfnDeploymentV2Props.getStageName()
- Parameters:
stageName
-AWS::ApiGatewayV2::Deployment.StageName
.- Returns:
this
-
build
Deprecated.Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDeploymentV2Props>
- Returns:
- a new instance of
CfnDeploymentV2Props
- Throws:
NullPointerException
- if any required attribute was not provided
-