Class CfnJobTemplate.AbortConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iot.CfnJobTemplate.AbortConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnJobTemplate.AbortConfigProperty>
- Enclosing interface:
CfnJobTemplate.AbortConfigProperty
@Stability(Stable)
public static final class CfnJobTemplate.AbortConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnJobTemplate.AbortConfigProperty>
A builder for
CfnJobTemplate.AbortConfigProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.criteriaList
(List<? extends Object> criteriaList) Sets the value ofCfnJobTemplate.AbortConfigProperty.getCriteriaList()
criteriaList
(IResolvable criteriaList) Sets the value ofCfnJobTemplate.AbortConfigProperty.getCriteriaList()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
criteriaList
@Stability(Stable) public CfnJobTemplate.AbortConfigProperty.Builder criteriaList(IResolvable criteriaList) Sets the value ofCfnJobTemplate.AbortConfigProperty.getCriteriaList()
- Parameters:
criteriaList
- The list of criteria that determine when and how to abort the job. This parameter is required.- Returns:
this
-
criteriaList
@Stability(Stable) public CfnJobTemplate.AbortConfigProperty.Builder criteriaList(List<? extends Object> criteriaList) Sets the value ofCfnJobTemplate.AbortConfigProperty.getCriteriaList()
- Parameters:
criteriaList
- The list of criteria that determine when and how to abort the job. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnJobTemplate.AbortConfigProperty>
- Returns:
- a new instance of
CfnJobTemplate.AbortConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-