Package software.amazon.awscdk
Class CfnTrafficRoutingTimeBasedLinear.Builder
java.lang.Object
software.amazon.awscdk.CfnTrafficRoutingTimeBasedLinear.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTrafficRoutingTimeBasedLinear>
- Enclosing interface:
CfnTrafficRoutingTimeBasedLinear
@Stability(Stable)
public static final class CfnTrafficRoutingTimeBasedLinear.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTrafficRoutingTimeBasedLinear>
A builder for
CfnTrafficRoutingTimeBasedLinear
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbakeTimeMins
(Number bakeTimeMins) Sets the value ofCfnTrafficRoutingTimeBasedLinear.getBakeTimeMins()
build()
Builds the configured instance.stepPercentage
(Number stepPercentage) Sets the value ofCfnTrafficRoutingTimeBasedLinear.getStepPercentage()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bakeTimeMins
@Stability(Stable) public CfnTrafficRoutingTimeBasedLinear.Builder bakeTimeMins(Number bakeTimeMins) Sets the value ofCfnTrafficRoutingTimeBasedLinear.getBakeTimeMins()
- Parameters:
bakeTimeMins
- The number of minutes between the first and second traffic shifts of a time-based linear deployment.- Returns:
this
-
stepPercentage
@Stability(Stable) public CfnTrafficRoutingTimeBasedLinear.Builder stepPercentage(Number stepPercentage) Sets the value ofCfnTrafficRoutingTimeBasedLinear.getStepPercentage()
- Parameters:
stepPercentage
- The percentage of traffic that is shifted at the start of each increment of a time-based linear deployment. The step percentage must be 14% or greater.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTrafficRoutingTimeBasedLinear>
- Returns:
- a new instance of
CfnTrafficRoutingTimeBasedLinear
- Throws:
NullPointerException
- if any required attribute was not provided
-