Class CfnDeploymentPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.apigateway.CfnDeploymentPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeploymentPropsMixin>
- Enclosing class:
CfnDeploymentPropsMixin
@Stability(Stable)
public static final class CfnDeploymentPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDeploymentPropsMixin>
A fluent builder for
CfnDeploymentPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) deploymentCanarySettings(CfnDeploymentPropsMixin.DeploymentCanarySettingsProperty deploymentCanarySettings) The input configuration for a canary deployment.deploymentCanarySettings(IResolvable 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.restApiId(IRestApiRef restApiId) The string identifier of the associated RestApi.stageDescription(CfnDeploymentPropsMixin.StageDescriptionProperty stageDescription) The description of the Stage resource for the Deployment resource to create.stageDescription(IResolvable 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 CfnDeploymentPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnDeploymentPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnDeploymentPropsMixin.Builder.
-
deploymentCanarySettings
@Stability(Stable) public CfnDeploymentPropsMixin.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 CfnDeploymentPropsMixin.Builder deploymentCanarySettings(CfnDeploymentPropsMixin.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:
-
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:
-
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:
-
stageDescription
@Stability(Stable) public CfnDeploymentPropsMixin.Builder stageDescription(IResolvable 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 CfnDeploymentPropsMixin.Builder stageDescription(CfnDeploymentPropsMixin.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:
buildin interfacesoftware.amazon.jsii.Builder<CfnDeploymentPropsMixin>- Returns:
- a newly built instance of
CfnDeploymentPropsMixin.
-