Class CfnService.LinearConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ecs.CfnService.LinearConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnService.LinearConfigurationProperty>
- Enclosing interface:
CfnService.LinearConfigurationProperty
@Stability(Stable)
public static final class CfnService.LinearConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnService.LinearConfigurationProperty>
A builder for
CfnService.LinearConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.stepBakeTimeInMinutes(Number stepBakeTimeInMinutes) Sets the value ofCfnService.LinearConfigurationProperty.getStepBakeTimeInMinutes()stepPercent(Number stepPercent) Sets the value ofCfnService.LinearConfigurationProperty.getStepPercent()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
stepBakeTimeInMinutes
@Stability(Stable) public CfnService.LinearConfigurationProperty.Builder stepBakeTimeInMinutes(Number stepBakeTimeInMinutes) Sets the value ofCfnService.LinearConfigurationProperty.getStepBakeTimeInMinutes()- 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 CfnService.LinearConfigurationProperty.Builder stepPercent(Number stepPercent) Sets the value ofCfnService.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<CfnService.LinearConfigurationProperty>- Returns:
- a new instance of
CfnService.LinearConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-