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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DeviceJobConfig.BuilderotaJobConfig(Consumer<OTAJobConfig.Builder> otaJobConfig)A configuration for an over-the-air (OTA) upgrade.DeviceJobConfig.BuilderotaJobConfig(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 Detail
-
otaJobConfig
DeviceJobConfig.Builder otaJobConfig(OTAJobConfig 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
default DeviceJobConfig.Builder otaJobConfig(Consumer<OTAJobConfig.Builder> 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.Builderavoiding the need to create one manually viaOTAJobConfig.builder().When the
Consumercompletes,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:
otaJobConfig(OTAJobConfig)
-
-