Class CfnJobTemplate.TimeoutConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iot.CfnJobTemplate.TimeoutConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnJobTemplate.TimeoutConfigProperty>
- Enclosing interface:
CfnJobTemplate.TimeoutConfigProperty
@Stability(Stable)
public static final class CfnJobTemplate.TimeoutConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnJobTemplate.TimeoutConfigProperty>
A builder for
CfnJobTemplate.TimeoutConfigProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.inProgressTimeoutInMinutes
(Number inProgressTimeoutInMinutes) Sets the value ofCfnJobTemplate.TimeoutConfigProperty.getInProgressTimeoutInMinutes()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
inProgressTimeoutInMinutes
@Stability(Stable) public CfnJobTemplate.TimeoutConfigProperty.Builder inProgressTimeoutInMinutes(Number inProgressTimeoutInMinutes) Sets the value ofCfnJobTemplate.TimeoutConfigProperty.getInProgressTimeoutInMinutes()
- Parameters:
inProgressTimeoutInMinutes
- Specifies the amount of time, in minutes, this device has to finish execution of this job. This parameter is required. The timeout interval can be anywhere between 1 minute and 7 days (1 to 10080 minutes). The in progress timer can't be updated and will apply to all job executions for the job. Whenever a job execution remains in the IN_PROGRESS status for longer than this interval, the job execution will fail and switch to the terminalTIMED_OUT
status.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnJobTemplate.TimeoutConfigProperty>
- Returns:
- a new instance of
CfnJobTemplate.TimeoutConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-