Class CfnJobTemplate.RateIncreaseCriteriaProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iot.CfnJobTemplate.RateIncreaseCriteriaProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnJobTemplate.RateIncreaseCriteriaProperty>
- Enclosing interface:
- CfnJobTemplate.RateIncreaseCriteriaProperty
@Stability(Stable)
public static final class CfnJobTemplate.RateIncreaseCriteriaProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnJobTemplate.RateIncreaseCriteriaProperty>
A builder for
CfnJobTemplate.RateIncreaseCriteriaProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.numberOfNotifiedThings
(Number numberOfNotifiedThings) Sets the value ofCfnJobTemplate.RateIncreaseCriteriaProperty.getNumberOfNotifiedThings()
numberOfSucceededThings
(Number numberOfSucceededThings) Sets the value ofCfnJobTemplate.RateIncreaseCriteriaProperty.getNumberOfSucceededThings()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
numberOfNotifiedThings
@Stability(Stable) public CfnJobTemplate.RateIncreaseCriteriaProperty.Builder numberOfNotifiedThings(Number numberOfNotifiedThings) Sets the value ofCfnJobTemplate.RateIncreaseCriteriaProperty.getNumberOfNotifiedThings()
- Parameters:
numberOfNotifiedThings
- The threshold for number of notified things that will initiate the increase in rate of rollout.- Returns:
this
-
numberOfSucceededThings
@Stability(Stable) public CfnJobTemplate.RateIncreaseCriteriaProperty.Builder numberOfSucceededThings(Number numberOfSucceededThings) Sets the value ofCfnJobTemplate.RateIncreaseCriteriaProperty.getNumberOfSucceededThings()
- Parameters:
numberOfSucceededThings
- The threshold for number of succeeded things that will initiate the increase in rate of rollout.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnJobTemplate.RateIncreaseCriteriaProperty>
- Returns:
- a new instance of
CfnJobTemplate.RateIncreaseCriteriaProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-