Class CfnJobTemplate.JobExecutionsRetryConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iot.CfnJobTemplate.JobExecutionsRetryConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnJobTemplate.JobExecutionsRetryConfigProperty>
- Enclosing interface:
CfnJobTemplate.JobExecutionsRetryConfigProperty
@Stability(Stable)
public static final class CfnJobTemplate.JobExecutionsRetryConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnJobTemplate.JobExecutionsRetryConfigProperty>
A builder for
CfnJobTemplate.JobExecutionsRetryConfigProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.retryCriteriaList
(List<? extends Object> retryCriteriaList) Sets the value ofCfnJobTemplate.JobExecutionsRetryConfigProperty.getRetryCriteriaList()
retryCriteriaList
(IResolvable retryCriteriaList) Sets the value ofCfnJobTemplate.JobExecutionsRetryConfigProperty.getRetryCriteriaList()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
retryCriteriaList
@Stability(Stable) public CfnJobTemplate.JobExecutionsRetryConfigProperty.Builder retryCriteriaList(IResolvable retryCriteriaList) Sets the value ofCfnJobTemplate.JobExecutionsRetryConfigProperty.getRetryCriteriaList()
- Parameters:
retryCriteriaList
- The list of criteria that determines how many retries are allowed for each failure type for a job.- Returns:
this
-
retryCriteriaList
@Stability(Stable) public CfnJobTemplate.JobExecutionsRetryConfigProperty.Builder retryCriteriaList(List<? extends Object> retryCriteriaList) Sets the value ofCfnJobTemplate.JobExecutionsRetryConfigProperty.getRetryCriteriaList()
- Parameters:
retryCriteriaList
- The list of criteria that determines how many retries are allowed for each failure type for a job.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnJobTemplate.JobExecutionsRetryConfigProperty>
- Returns:
- a new instance of
CfnJobTemplate.JobExecutionsRetryConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-