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