Interface DeviceJobConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DeviceJobConfig.Builder,
,DeviceJobConfig> SdkBuilder<DeviceJobConfig.Builder,
,DeviceJobConfig> SdkPojo
- Enclosing class:
DeviceJobConfig
public static interface DeviceJobConfig.Builder
extends SdkPojo, CopyableBuilder<DeviceJobConfig.Builder,DeviceJobConfig>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DeviceJobConfig.Builder
otaJobConfig
(Consumer<OTAJobConfig.Builder> otaJobConfig) A configuration for an over-the-air (OTA) upgrade.otaJobConfig
(OTAJobConfig otaJobConfig) A configuration for an over-the-air (OTA) upgrade.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, sdkFields
-
Method Details
-
otaJobConfig
A configuration for an over-the-air (OTA) upgrade. Required for OTA jobs.
- Parameters:
otaJobConfig
- A configuration for an over-the-air (OTA) upgrade. Required for OTA jobs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
otaJobConfig
A configuration for an over-the-air (OTA) upgrade. Required for OTA jobs.
This is a convenience method that creates an instance of theOTAJobConfig.Builder
avoiding the need to create one manually viaOTAJobConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tootaJobConfig(OTAJobConfig)
.- Parameters:
otaJobConfig
- a consumer that will call methods onOTAJobConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-