Interface DeploymentIoTJobConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DeploymentIoTJobConfiguration.Builder,
,DeploymentIoTJobConfiguration> SdkBuilder<DeploymentIoTJobConfiguration.Builder,
,DeploymentIoTJobConfiguration> SdkPojo
- Enclosing class:
DeploymentIoTJobConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionabortConfig
(Consumer<IoTJobAbortConfig.Builder> abortConfig) The stop configuration for the job.abortConfig
(IoTJobAbortConfig abortConfig) The stop configuration for the job.jobExecutionsRolloutConfig
(Consumer<IoTJobExecutionsRolloutConfig.Builder> jobExecutionsRolloutConfig) The rollout configuration for the job.jobExecutionsRolloutConfig
(IoTJobExecutionsRolloutConfig jobExecutionsRolloutConfig) The rollout configuration for the job.timeoutConfig
(Consumer<IoTJobTimeoutConfig.Builder> timeoutConfig) The timeout configuration for the job.timeoutConfig
(IoTJobTimeoutConfig timeoutConfig) The timeout configuration for the job.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
jobExecutionsRolloutConfig
DeploymentIoTJobConfiguration.Builder jobExecutionsRolloutConfig(IoTJobExecutionsRolloutConfig jobExecutionsRolloutConfig) The rollout configuration for the job. This configuration defines the rate at which the job rolls out to the fleet of target devices.
- 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:
- Returns a reference to this object so that method calls can be chained together.
-
jobExecutionsRolloutConfig
default DeploymentIoTJobConfiguration.Builder jobExecutionsRolloutConfig(Consumer<IoTJobExecutionsRolloutConfig.Builder> jobExecutionsRolloutConfig) The rollout configuration for the job. This configuration defines the rate at which the job rolls out to the fleet of target devices.
This is a convenience method that creates an instance of theIoTJobExecutionsRolloutConfig.Builder
avoiding the need to create one manually viaIoTJobExecutionsRolloutConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tojobExecutionsRolloutConfig(IoTJobExecutionsRolloutConfig)
.- Parameters:
jobExecutionsRolloutConfig
- a consumer that will call methods onIoTJobExecutionsRolloutConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
abortConfig
The stop configuration for the job. This configuration defines when and how to stop a job rollout.
- Parameters:
abortConfig
- The stop configuration for the job. This configuration defines when and how to stop a job rollout.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
abortConfig
default DeploymentIoTJobConfiguration.Builder abortConfig(Consumer<IoTJobAbortConfig.Builder> abortConfig) The stop configuration for the job. This configuration defines when and how to stop a job rollout.
This is a convenience method that creates an instance of theIoTJobAbortConfig.Builder
avoiding the need to create one manually viaIoTJobAbortConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toabortConfig(IoTJobAbortConfig)
.- Parameters:
abortConfig
- a consumer that will call methods onIoTJobAbortConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
timeoutConfig
The timeout configuration for the job. This configuration defines the amount of time each device has to complete the job.
- Parameters:
timeoutConfig
- The timeout configuration for the job. This configuration defines the amount of time each device has to complete the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeoutConfig
default DeploymentIoTJobConfiguration.Builder timeoutConfig(Consumer<IoTJobTimeoutConfig.Builder> timeoutConfig) The timeout configuration for the job. This configuration defines the amount of time each device has to complete the job.
This is a convenience method that creates an instance of theIoTJobTimeoutConfig.Builder
avoiding the need to create one manually viaIoTJobTimeoutConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totimeoutConfig(IoTJobTimeoutConfig)
.- Parameters:
timeoutConfig
- a consumer that will call methods onIoTJobTimeoutConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-