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.Builderdescription(String description) The description for the deployment resource.The name of an existing stage to associate with the deployment.
-
Method Details
-
create
@Stability(Stable) public static CfnDeployment.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnDeployment.Builder.
-
apiId
The API identifier.- Parameters:
apiId- The API identifier. This parameter is required.- Returns:
this- See Also:
-
description
The description for the deployment resource.- Parameters:
description- The description for the deployment resource. This parameter is required.- Returns:
this- See Also:
-
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- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDeployment>- Returns:
- a newly built instance of
CfnDeployment.
-