Class CfnDeploymentMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.apigateway.CfnDeploymentMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeploymentMixinProps>
- Enclosing interface:
CfnDeploymentMixinProps
@Stability(Stable)
public static final class CfnDeploymentMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDeploymentMixinProps>
A builder for
CfnDeploymentMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.deploymentCanarySettings(CfnDeploymentPropsMixin.DeploymentCanarySettingsProperty deploymentCanarySettings) Sets the value ofCfnDeploymentMixinProps.getDeploymentCanarySettings()deploymentCanarySettings(IResolvable deploymentCanarySettings) Sets the value ofCfnDeploymentMixinProps.getDeploymentCanarySettings()description(String description) Sets the value ofCfnDeploymentMixinProps.getDescription()Sets the value ofCfnDeploymentMixinProps.getRestApiId()restApiId(IRestApiRef restApiId) Sets the value ofCfnDeploymentMixinProps.getRestApiId()stageDescription(CfnDeploymentPropsMixin.StageDescriptionProperty stageDescription) Sets the value ofCfnDeploymentMixinProps.getStageDescription()stageDescription(IResolvable stageDescription) Sets the value ofCfnDeploymentMixinProps.getStageDescription()Sets the value ofCfnDeploymentMixinProps.getStageName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
deploymentCanarySettings
@Stability(Stable) public CfnDeploymentMixinProps.Builder deploymentCanarySettings(IResolvable deploymentCanarySettings) Sets the value ofCfnDeploymentMixinProps.getDeploymentCanarySettings()- Parameters:
deploymentCanarySettings- The input configuration for a canary deployment.- Returns:
this
-
deploymentCanarySettings
@Stability(Stable) public CfnDeploymentMixinProps.Builder deploymentCanarySettings(CfnDeploymentPropsMixin.DeploymentCanarySettingsProperty deploymentCanarySettings) Sets the value ofCfnDeploymentMixinProps.getDeploymentCanarySettings()- Parameters:
deploymentCanarySettings- The input configuration for a canary deployment.- Returns:
this
-
description
Sets the value ofCfnDeploymentMixinProps.getDescription()- Parameters:
description- The description for the Deployment resource to create.- Returns:
this
-
restApiId
Sets the value ofCfnDeploymentMixinProps.getRestApiId()- Parameters:
restApiId- The string identifier of the associated RestApi.- Returns:
this
-
restApiId
Sets the value ofCfnDeploymentMixinProps.getRestApiId()- Parameters:
restApiId- The string identifier of the associated RestApi.- Returns:
this
-
stageDescription
@Stability(Stable) public CfnDeploymentMixinProps.Builder stageDescription(IResolvable stageDescription) Sets the value ofCfnDeploymentMixinProps.getStageDescription()- Parameters:
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.- Returns:
this
-
stageDescription
@Stability(Stable) public CfnDeploymentMixinProps.Builder stageDescription(CfnDeploymentPropsMixin.StageDescriptionProperty stageDescription) Sets the value ofCfnDeploymentMixinProps.getStageDescription()- Parameters:
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.- Returns:
this
-
stageName
Sets the value ofCfnDeploymentMixinProps.getStageName()- Parameters:
stageName- The name of the Stage resource for the Deployment resource to create.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDeploymentMixinProps>- Returns:
- a new instance of
CfnDeploymentMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-