Class CfnDeployment.Builder
java.lang.Object
software.amazon.awscdk.services.apigateway.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 TypeMethodDescriptionbuild()
static CfnDeployment.Builder
deploymentCanarySettings
(IResolvable deploymentCanarySettings) The input configuration for a canary deployment.deploymentCanarySettings
(CfnDeployment.DeploymentCanarySettingsProperty deploymentCanarySettings) The input configuration for a canary deployment.description
(String description) The description for the Deployment resource to create.The string identifier of the associated RestApi.stageDescription
(IResolvable stageDescription) The description of the Stage resource for the Deployment resource to create.stageDescription
(CfnDeployment.StageDescriptionProperty stageDescription) The description of the Stage resource for the Deployment resource to create.The name of the Stage resource for the Deployment resource to create.
-
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
.
-
restApiId
The string identifier of the associated RestApi.- Parameters:
restApiId
- The string identifier of the associated RestApi. This parameter is required.- Returns:
this
- See Also:
-
deploymentCanarySettings
@Stability(Stable) public CfnDeployment.Builder deploymentCanarySettings(IResolvable deploymentCanarySettings) The input configuration for a canary deployment.- Parameters:
deploymentCanarySettings
- The input configuration for a canary deployment. This parameter is required.- Returns:
this
- See Also:
-
deploymentCanarySettings
@Stability(Stable) public CfnDeployment.Builder deploymentCanarySettings(CfnDeployment.DeploymentCanarySettingsProperty deploymentCanarySettings) The input configuration for a canary deployment.- Parameters:
deploymentCanarySettings
- The input configuration for a canary deployment. This parameter is required.- Returns:
this
- See Also:
-
description
The description for the Deployment resource to create.- Parameters:
description
- The description for the Deployment resource to create. This parameter is required.- Returns:
this
- See Also:
-
stageDescription
The description of the Stage resource for the Deployment resource to create.To specify a stage description, you must also provide a stage name.
- Parameters:
stageDescription
- The description of the Stage resource for the Deployment resource to create. This parameter is required.- Returns:
this
- See Also:
-
stageDescription
@Stability(Stable) public CfnDeployment.Builder stageDescription(CfnDeployment.StageDescriptionProperty stageDescription) The description of the Stage resource for the Deployment resource to create.To specify a stage description, you must also provide a stage name.
- Parameters:
stageDescription
- The description of the Stage resource for the Deployment resource to create. This parameter is required.- Returns:
this
- See Also:
-
stageName
The name of the Stage resource for the Deployment resource to create.- Parameters:
stageName
- The name of the Stage resource for the Deployment resource to create. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDeployment>
- Returns:
- a newly built instance of
CfnDeployment
.
-