@Stability(value=Stable) public static final class CfnJobTemplate.AbortCriteriaProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnJobTemplate.AbortCriteriaProperty>
CfnJobTemplate.AbortCriteriaProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnJobTemplate.AbortCriteriaProperty.Builder |
action(String action)
Sets the value of
CfnJobTemplate.AbortCriteriaProperty.getAction() |
CfnJobTemplate.AbortCriteriaProperty |
build()
Builds the configured instance.
|
CfnJobTemplate.AbortCriteriaProperty.Builder |
failureType(String failureType)
Sets the value of
CfnJobTemplate.AbortCriteriaProperty.getFailureType() |
CfnJobTemplate.AbortCriteriaProperty.Builder |
minNumberOfExecutedThings(Number minNumberOfExecutedThings)
Sets the value of
CfnJobTemplate.AbortCriteriaProperty.getMinNumberOfExecutedThings() |
CfnJobTemplate.AbortCriteriaProperty.Builder |
thresholdPercentage(Number thresholdPercentage)
Sets the value of
CfnJobTemplate.AbortCriteriaProperty.getThresholdPercentage() |
@Stability(value=Stable) public CfnJobTemplate.AbortCriteriaProperty.Builder action(String action)
CfnJobTemplate.AbortCriteriaProperty.getAction()action - The type of job action to take to initiate the job abort. This parameter is required.this@Stability(value=Stable) public CfnJobTemplate.AbortCriteriaProperty.Builder failureType(String failureType)
CfnJobTemplate.AbortCriteriaProperty.getFailureType()failureType - The type of job execution failures that can initiate a job abort. This parameter is required.this@Stability(value=Stable) public CfnJobTemplate.AbortCriteriaProperty.Builder minNumberOfExecutedThings(Number minNumberOfExecutedThings)
CfnJobTemplate.AbortCriteriaProperty.getMinNumberOfExecutedThings()minNumberOfExecutedThings - The minimum number of things which must receive job execution notifications before the job can be aborted. This parameter is required.this@Stability(value=Stable) public CfnJobTemplate.AbortCriteriaProperty.Builder thresholdPercentage(Number thresholdPercentage)
CfnJobTemplate.AbortCriteriaProperty.getThresholdPercentage()thresholdPercentage - The minimum percentage of job execution failures that must occur to initiate the job abort. This parameter is required.
AWS IoT Core supports up to two digits after the decimal (for example, 10.9 and 10.99, but not 10.999).this@Stability(value=Stable) public CfnJobTemplate.AbortCriteriaProperty build()
build in interface software.amazon.jsii.Builder<CfnJobTemplate.AbortCriteriaProperty>CfnJobTemplate.AbortCriteriaPropertyNullPointerException - if any required attribute was not providedCopyright © 2023. All rights reserved.