public static interface DeviceJobConfig.Builder extends SdkPojo, CopyableBuilder<DeviceJobConfig.Builder,DeviceJobConfig>
| Modifier and Type | Method and Description |
|---|---|
default DeviceJobConfig.Builder |
otaJobConfig(Consumer<OTAJobConfig.Builder> otaJobConfig)
A configuration for an over-the-air (OTA) upgrade.
|
DeviceJobConfig.Builder |
otaJobConfig(OTAJobConfig otaJobConfig)
A configuration for an over-the-air (OTA) upgrade.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildDeviceJobConfig.Builder otaJobConfig(OTAJobConfig otaJobConfig)
A configuration for an over-the-air (OTA) upgrade. Required for OTA jobs.
otaJobConfig - A configuration for an over-the-air (OTA) upgrade. Required for OTA jobs.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 that creates an instance of theOTAJobConfig.Builder avoiding the need to
create one manually via OTAJobConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to otaJobConfig(OTAJobConfig).otaJobConfig - a consumer that will call methods on OTAJobConfig.BuilderotaJobConfig(OTAJobConfig)Copyright © 2021. All rights reserved.