Class CfnJob.JobExecutionsRolloutConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iot.CfnJob.JobExecutionsRolloutConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnJob.JobExecutionsRolloutConfigProperty>
- Enclosing interface:
CfnJob.JobExecutionsRolloutConfigProperty
@Stability(Stable)
public static final class CfnJob.JobExecutionsRolloutConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnJob.JobExecutionsRolloutConfigProperty>
A builder for
CfnJob.JobExecutionsRolloutConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.exponentialRate(IResolvable exponentialRate) Sets the value ofCfnJob.JobExecutionsRolloutConfigProperty.getExponentialRate()exponentialRate(CfnJob.ExponentialRolloutRateProperty exponentialRate) Sets the value ofCfnJob.JobExecutionsRolloutConfigProperty.getExponentialRate()maximumPerMinute(Number maximumPerMinute) Sets the value ofCfnJob.JobExecutionsRolloutConfigProperty.getMaximumPerMinute()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
exponentialRate
@Stability(Stable) public CfnJob.JobExecutionsRolloutConfigProperty.Builder exponentialRate(IResolvable exponentialRate) Sets the value ofCfnJob.JobExecutionsRolloutConfigProperty.getExponentialRate()- Parameters:
exponentialRate- Allows you to create an exponential rate of rollout for a job.- Returns:
this
-
exponentialRate
@Stability(Stable) public CfnJob.JobExecutionsRolloutConfigProperty.Builder exponentialRate(CfnJob.ExponentialRolloutRateProperty exponentialRate) Sets the value ofCfnJob.JobExecutionsRolloutConfigProperty.getExponentialRate()- Parameters:
exponentialRate- Allows you to create an exponential rate of rollout for a job.- Returns:
this
-
maximumPerMinute
@Stability(Stable) public CfnJob.JobExecutionsRolloutConfigProperty.Builder maximumPerMinute(Number maximumPerMinute) Sets the value ofCfnJob.JobExecutionsRolloutConfigProperty.getMaximumPerMinute()- Parameters:
maximumPerMinute- The maximum number of things that will be notified of a pending job, per minute. This parameter allows you to create a staged rollout.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnJob.JobExecutionsRolloutConfigProperty>- Returns:
- a new instance of
CfnJob.JobExecutionsRolloutConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-