Class CfnDeployment.DeploymentIoTJobConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.greengrassv2.CfnDeployment.DeploymentIoTJobConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeployment.DeploymentIoTJobConfigurationProperty>
- Enclosing interface:
CfnDeployment.DeploymentIoTJobConfigurationProperty
@Stability(Stable)
public static final class CfnDeployment.DeploymentIoTJobConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDeployment.DeploymentIoTJobConfigurationProperty>
A builder for
CfnDeployment.DeploymentIoTJobConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabortConfig(IResolvable abortConfig) Sets the value ofCfnDeployment.DeploymentIoTJobConfigurationProperty.getAbortConfig()abortConfig(CfnDeployment.IoTJobAbortConfigProperty abortConfig) Sets the value ofCfnDeployment.DeploymentIoTJobConfigurationProperty.getAbortConfig()build()Builds the configured instance.jobExecutionsRolloutConfig(IResolvable jobExecutionsRolloutConfig) jobExecutionsRolloutConfig(CfnDeployment.IoTJobExecutionsRolloutConfigProperty jobExecutionsRolloutConfig) timeoutConfig(IResolvable timeoutConfig) Sets the value ofCfnDeployment.DeploymentIoTJobConfigurationProperty.getTimeoutConfig()timeoutConfig(CfnDeployment.IoTJobTimeoutConfigProperty timeoutConfig) Sets the value ofCfnDeployment.DeploymentIoTJobConfigurationProperty.getTimeoutConfig()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
abortConfig
@Stability(Stable) public CfnDeployment.DeploymentIoTJobConfigurationProperty.Builder abortConfig(IResolvable abortConfig) Sets the value ofCfnDeployment.DeploymentIoTJobConfigurationProperty.getAbortConfig()- Parameters:
abortConfig- The stop configuration for the job. This configuration defines when and how to stop a job rollout.- Returns:
this
-
abortConfig
@Stability(Stable) public CfnDeployment.DeploymentIoTJobConfigurationProperty.Builder abortConfig(CfnDeployment.IoTJobAbortConfigProperty abortConfig) Sets the value ofCfnDeployment.DeploymentIoTJobConfigurationProperty.getAbortConfig()- Parameters:
abortConfig- The stop configuration for the job. This configuration defines when and how to stop a job rollout.- Returns:
this
-
jobExecutionsRolloutConfig
@Stability(Stable) public CfnDeployment.DeploymentIoTJobConfigurationProperty.Builder jobExecutionsRolloutConfig(IResolvable jobExecutionsRolloutConfig) Sets the value ofCfnDeployment.DeploymentIoTJobConfigurationProperty.getJobExecutionsRolloutConfig()- Parameters:
jobExecutionsRolloutConfig- The rollout configuration for the job. This configuration defines the rate at which the job rolls out to the fleet of target devices.- Returns:
this
-
jobExecutionsRolloutConfig
@Stability(Stable) public CfnDeployment.DeploymentIoTJobConfigurationProperty.Builder jobExecutionsRolloutConfig(CfnDeployment.IoTJobExecutionsRolloutConfigProperty jobExecutionsRolloutConfig) Sets the value ofCfnDeployment.DeploymentIoTJobConfigurationProperty.getJobExecutionsRolloutConfig()- Parameters:
jobExecutionsRolloutConfig- The rollout configuration for the job. This configuration defines the rate at which the job rolls out to the fleet of target devices.- Returns:
this
-
timeoutConfig
@Stability(Stable) public CfnDeployment.DeploymentIoTJobConfigurationProperty.Builder timeoutConfig(IResolvable timeoutConfig) Sets the value ofCfnDeployment.DeploymentIoTJobConfigurationProperty.getTimeoutConfig()- Parameters:
timeoutConfig- The timeout configuration for the job. This configuration defines the amount of time each device has to complete the job.- Returns:
this
-
timeoutConfig
@Stability(Stable) public CfnDeployment.DeploymentIoTJobConfigurationProperty.Builder timeoutConfig(CfnDeployment.IoTJobTimeoutConfigProperty timeoutConfig) Sets the value ofCfnDeployment.DeploymentIoTJobConfigurationProperty.getTimeoutConfig()- Parameters:
timeoutConfig- The timeout configuration for the job. This configuration defines the amount of time each device has to complete the job.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDeployment.DeploymentIoTJobConfigurationProperty>- Returns:
- a new instance of
CfnDeployment.DeploymentIoTJobConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-