Class CfnDeployment.IoTJobTimeoutConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.greengrassv2.CfnDeployment.IoTJobTimeoutConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeployment.IoTJobTimeoutConfigProperty>
- Enclosing interface:
CfnDeployment.IoTJobTimeoutConfigProperty
@Stability(Stable)
public static final class CfnDeployment.IoTJobTimeoutConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDeployment.IoTJobTimeoutConfigProperty>
A builder for
CfnDeployment.IoTJobTimeoutConfigProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.inProgressTimeoutInMinutes
(Number inProgressTimeoutInMinutes)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
inProgressTimeoutInMinutes
@Stability(Stable) public CfnDeployment.IoTJobTimeoutConfigProperty.Builder inProgressTimeoutInMinutes(Number inProgressTimeoutInMinutes) - Parameters:
inProgressTimeoutInMinutes
- The amount of time, in minutes, that devices have to complete the job. The timer starts when the job status is set toIN_PROGRESS
. If the job status doesn't change to a terminal state before the time expires, then the job status is set toTIMED_OUT
.The timeout interval must be between 1 minute and 7 days (10080 minutes).
- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDeployment.IoTJobTimeoutConfigProperty>
- Returns:
- a new instance of
CfnDeployment.IoTJobTimeoutConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-