public static final class CfnDeploymentConfig.TimeBasedLinearProperty.Builder
extends java.lang.Object
CfnDeploymentConfig.TimeBasedLinearProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnDeploymentConfig.TimeBasedLinearProperty |
build()
Builds the configured instance.
|
CfnDeploymentConfig.TimeBasedLinearProperty.Builder |
linearInterval(java.lang.Number linearInterval)
Sets the value of
CfnDeploymentConfig.TimeBasedLinearProperty.getLinearInterval() |
CfnDeploymentConfig.TimeBasedLinearProperty.Builder |
linearPercentage(java.lang.Number linearPercentage)
Sets the value of
CfnDeploymentConfig.TimeBasedLinearProperty.getLinearPercentage() |
public CfnDeploymentConfig.TimeBasedLinearProperty.Builder linearInterval(java.lang.Number linearInterval)
CfnDeploymentConfig.TimeBasedLinearProperty.getLinearInterval()
linearInterval
- The number of minutes between each incremental traffic shift of a `TimeBasedLinear` deployment. This parameter is required.this
public CfnDeploymentConfig.TimeBasedLinearProperty.Builder linearPercentage(java.lang.Number linearPercentage)
CfnDeploymentConfig.TimeBasedLinearProperty.getLinearPercentage()
linearPercentage
- The percentage of traffic that is shifted at the start of each increment of a `TimeBasedLinear` deployment. This parameter is required.this
public CfnDeploymentConfig.TimeBasedLinearProperty build()
CfnDeploymentConfig.TimeBasedLinearProperty
java.lang.NullPointerException
- if any required attribute was not provided