Class CfnJob.ExponentialRolloutRateProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iot.CfnJob.ExponentialRolloutRateProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnJob.ExponentialRolloutRateProperty>
- Enclosing interface:
CfnJob.ExponentialRolloutRateProperty
@Stability(Stable)
public static final class CfnJob.ExponentialRolloutRateProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnJob.ExponentialRolloutRateProperty>
A builder for
CfnJob.ExponentialRolloutRateProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbaseRatePerMinute(Number baseRatePerMinute) Sets the value ofCfnJob.ExponentialRolloutRateProperty.getBaseRatePerMinute()build()Builds the configured instance.incrementFactor(Number incrementFactor) Sets the value ofCfnJob.ExponentialRolloutRateProperty.getIncrementFactor()rateIncreaseCriteria(IResolvable rateIncreaseCriteria) Sets the value ofCfnJob.ExponentialRolloutRateProperty.getRateIncreaseCriteria()rateIncreaseCriteria(CfnJob.RateIncreaseCriteriaProperty rateIncreaseCriteria) Sets the value ofCfnJob.ExponentialRolloutRateProperty.getRateIncreaseCriteria()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
baseRatePerMinute
@Stability(Stable) public CfnJob.ExponentialRolloutRateProperty.Builder baseRatePerMinute(Number baseRatePerMinute) Sets the value ofCfnJob.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.- Returns:
this
-
incrementFactor
@Stability(Stable) public CfnJob.ExponentialRolloutRateProperty.Builder incrementFactor(Number incrementFactor) Sets the value ofCfnJob.ExponentialRolloutRateProperty.getIncrementFactor()- Parameters:
incrementFactor- The exponential factor to increase the rate of rollout for a job. This parameter is required.- Returns:
this
-
rateIncreaseCriteria
@Stability(Stable) public CfnJob.ExponentialRolloutRateProperty.Builder rateIncreaseCriteria(IResolvable rateIncreaseCriteria) Sets the value ofCfnJob.ExponentialRolloutRateProperty.getRateIncreaseCriteria()- Parameters:
rateIncreaseCriteria- Allows you to define a criteria to initiate the increase in rate of rollout for a job. This parameter is required.- Returns:
this
-
rateIncreaseCriteria
@Stability(Stable) public CfnJob.ExponentialRolloutRateProperty.Builder rateIncreaseCriteria(CfnJob.RateIncreaseCriteriaProperty rateIncreaseCriteria) Sets the value ofCfnJob.ExponentialRolloutRateProperty.getRateIncreaseCriteria()- Parameters:
rateIncreaseCriteria- Allows you to define a 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:
buildin interfacesoftware.amazon.jsii.Builder<CfnJob.ExponentialRolloutRateProperty>- Returns:
- a new instance of
CfnJob.ExponentialRolloutRateProperty - Throws:
NullPointerException- if any required attribute was not provided
-