Class CfnDeploymentConfigPropsMixin.TimeBasedCanaryProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.codedeploy.CfnDeploymentConfigPropsMixin.TimeBasedCanaryProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeploymentConfigPropsMixin.TimeBasedCanaryProperty>
- Enclosing interface:
CfnDeploymentConfigPropsMixin.TimeBasedCanaryProperty
@Stability(Stable)
public static final class CfnDeploymentConfigPropsMixin.TimeBasedCanaryProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDeploymentConfigPropsMixin.TimeBasedCanaryProperty>
A builder for
CfnDeploymentConfigPropsMixin.TimeBasedCanaryProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.canaryInterval(Number canaryInterval) canaryPercentage(Number canaryPercentage)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
canaryInterval
@Stability(Stable) public CfnDeploymentConfigPropsMixin.TimeBasedCanaryProperty.Builder canaryInterval(Number canaryInterval) - Parameters:
canaryInterval- The number of minutes between the first and second traffic shifts of aTimeBasedCanarydeployment.- Returns:
this
-
canaryPercentage
@Stability(Stable) public CfnDeploymentConfigPropsMixin.TimeBasedCanaryProperty.Builder canaryPercentage(Number canaryPercentage) - Parameters:
canaryPercentage- The percentage of traffic to shift in the first increment of aTimeBasedCanarydeployment.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDeploymentConfigPropsMixin.TimeBasedCanaryProperty>- Returns:
- a new instance of
CfnDeploymentConfigPropsMixin.TimeBasedCanaryProperty - Throws:
NullPointerException- if any required attribute was not provided
-