Class CfnDeployment.IoTJobExponentialRolloutRateProperty.Builder
java.lang.Object
software.amazon.awscdk.services.greengrassv2.CfnDeployment.IoTJobExponentialRolloutRateProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeployment.IoTJobExponentialRolloutRateProperty>
- Enclosing interface:
- CfnDeployment.IoTJobExponentialRolloutRateProperty
@Stability(Stable)
public static final class CfnDeployment.IoTJobExponentialRolloutRateProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDeployment.IoTJobExponentialRolloutRateProperty>
A builder for
CfnDeployment.IoTJobExponentialRolloutRateProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbaseRatePerMinute(Number baseRatePerMinute) build()Builds the configured instance.incrementFactor(Number incrementFactor) Sets the value ofCfnDeployment.IoTJobExponentialRolloutRateProperty.getIncrementFactor()rateIncreaseCriteria(Object rateIncreaseCriteria)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
baseRatePerMinute
@Stability(Stable) public CfnDeployment.IoTJobExponentialRolloutRateProperty.Builder baseRatePerMinute(Number baseRatePerMinute) - Parameters:
baseRatePerMinute- The minimum number of devices that receive a pending job notification, per minute, when the job starts. This parameter is required. This parameter defines the initial rollout rate of the job.- Returns:
this
-
incrementFactor
@Stability(Stable) public CfnDeployment.IoTJobExponentialRolloutRateProperty.Builder incrementFactor(Number incrementFactor) Sets the value ofCfnDeployment.IoTJobExponentialRolloutRateProperty.getIncrementFactor()- Parameters:
incrementFactor- The exponential factor to increase the rollout rate for the job. This parameter is required. This parameter supports up to one digit after the decimal (for example, you can specify1.5, but not1.55).- Returns:
this
-
rateIncreaseCriteria
@Stability(Stable) public CfnDeployment.IoTJobExponentialRolloutRateProperty.Builder rateIncreaseCriteria(Object rateIncreaseCriteria) - Parameters:
rateIncreaseCriteria- The criteria to increase the rollout rate for the job. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDeployment.IoTJobExponentialRolloutRateProperty>- Returns:
- a new instance of
CfnDeployment.IoTJobExponentialRolloutRateProperty - Throws:
NullPointerException- if any required attribute was not provided
-