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