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.BuilderotaJobConfig(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.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:
-