Class CfnJobTemplate.ExponentialRolloutRateProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iot.CfnJobTemplate.ExponentialRolloutRateProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnJobTemplate.ExponentialRolloutRateProperty>
- Enclosing interface:
CfnJobTemplate.ExponentialRolloutRateProperty
@Stability(Stable)
public static final class CfnJobTemplate.ExponentialRolloutRateProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnJobTemplate.ExponentialRolloutRateProperty>
A builder for
CfnJobTemplate.ExponentialRolloutRateProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbaseRatePerMinute
(Number baseRatePerMinute) Sets the value ofCfnJobTemplate.ExponentialRolloutRateProperty.getBaseRatePerMinute()
build()
Builds the configured instance.incrementFactor
(Number incrementFactor) Sets the value ofCfnJobTemplate.ExponentialRolloutRateProperty.getIncrementFactor()
rateIncreaseCriteria
(IResolvable rateIncreaseCriteria) Sets the value ofCfnJobTemplate.ExponentialRolloutRateProperty.getRateIncreaseCriteria()
rateIncreaseCriteria
(CfnJobTemplate.RateIncreaseCriteriaProperty rateIncreaseCriteria) Sets the value ofCfnJobTemplate.ExponentialRolloutRateProperty.getRateIncreaseCriteria()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
baseRatePerMinute
@Stability(Stable) public CfnJobTemplate.ExponentialRolloutRateProperty.Builder baseRatePerMinute(Number baseRatePerMinute) Sets the value ofCfnJobTemplate.ExponentialRolloutRateProperty.getBaseRatePerMinute()
- Parameters:
baseRatePerMinute
- The minimum number of things that will be notified of a pending job, per minute at the start of job rollout. This parameter is required. This parameter allows you to define the initial rate of rollout.- Returns:
this
-
incrementFactor
@Stability(Stable) public CfnJobTemplate.ExponentialRolloutRateProperty.Builder incrementFactor(Number incrementFactor) Sets the value ofCfnJobTemplate.ExponentialRolloutRateProperty.getIncrementFactor()
- Parameters:
incrementFactor
- The exponential factor to increase the rate of rollout for a job. This parameter is required. AWS IoT Core supports up to one digit after the decimal (for example, 1.5, but not 1.55).- Returns:
this
-
rateIncreaseCriteria
@Stability(Stable) public CfnJobTemplate.ExponentialRolloutRateProperty.Builder rateIncreaseCriteria(IResolvable rateIncreaseCriteria) Sets the value ofCfnJobTemplate.ExponentialRolloutRateProperty.getRateIncreaseCriteria()
- Parameters:
rateIncreaseCriteria
- The criteria to initiate the increase in rate of rollout for a job. This parameter is required.- Returns:
this
-
rateIncreaseCriteria
@Stability(Stable) public CfnJobTemplate.ExponentialRolloutRateProperty.Builder rateIncreaseCriteria(CfnJobTemplate.RateIncreaseCriteriaProperty rateIncreaseCriteria) Sets the value ofCfnJobTemplate.ExponentialRolloutRateProperty.getRateIncreaseCriteria()
- Parameters:
rateIncreaseCriteria
- The criteria to initiate the increase in rate of rollout for a job. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnJobTemplate.ExponentialRolloutRateProperty>
- Returns:
- a new instance of
CfnJobTemplate.ExponentialRolloutRateProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-