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