Class CfnServicePropsMixin.LinearConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ecs.CfnServicePropsMixin.LinearConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnServicePropsMixin.LinearConfigurationProperty>
- Enclosing interface:
CfnServicePropsMixin.LinearConfigurationProperty
@Stability(Stable)
public static final class CfnServicePropsMixin.LinearConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnServicePropsMixin.LinearConfigurationProperty>
A builder for
CfnServicePropsMixin.LinearConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.stepBakeTimeInMinutes(Number stepBakeTimeInMinutes) stepPercent(Number stepPercent) Sets the value ofCfnServicePropsMixin.LinearConfigurationProperty.getStepPercent()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
stepBakeTimeInMinutes
@Stability(Stable) public CfnServicePropsMixin.LinearConfigurationProperty.Builder stepBakeTimeInMinutes(Number stepBakeTimeInMinutes) - Parameters:
stepBakeTimeInMinutes- The amount of time in minutes to wait between each traffic shifting step during a linear deployment. Valid values are 0 to 1440 minutes (24 hours). The default value is 6. This bake time is not applied after reaching 100 percent traffic.- Returns:
this
-
stepPercent
@Stability(Stable) public CfnServicePropsMixin.LinearConfigurationProperty.Builder stepPercent(Number stepPercent) Sets the value ofCfnServicePropsMixin.LinearConfigurationProperty.getStepPercent()- Parameters:
stepPercent- The percentage of production traffic to shift in each step during a linear deployment. Valid values are multiples of 0.1 from 3.0 to 100.0. The default value is 10.0.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnServicePropsMixin.LinearConfigurationProperty>- Returns:
- a new instance of
CfnServicePropsMixin.LinearConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-