Class CfnDeployment.Builder
java.lang.Object
software.amazon.awscdk.services.apigatewayv2.CfnDeployment.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeployment>
- Enclosing class:
CfnDeployment
@Stability(Stable)
public static final class CfnDeployment.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDeployment>
A fluent builder for
CfnDeployment
.-
Method Summary
Modifier and TypeMethodDescriptionThe API identifier.build()
static CfnDeployment.Builder
description
(String description) The description for the deployment resource.The name of an existing stage to associate with the deployment.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnDeployment.Builder
.
-
apiId
The API identifier.- Parameters:
apiId
- The API identifier. This parameter is required.- Returns:
this
-
description
The description for the deployment resource.- Parameters:
description
- The description for the deployment resource. This parameter is required.- Returns:
this
-
stageName
The name of an existing stage to associate with the deployment.- Parameters:
stageName
- The name of an existing stage to associate with the deployment. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDeployment>
- Returns:
- a newly built instance of
CfnDeployment
.
-