public static interface Command.Builder extends SdkPojo, CopyableBuilder<Command.Builder,Command>
| Modifier and Type | Method and Description |
|---|---|
default Command.Builder |
reboot(Consumer<Reboot.Builder> reboot)
Reboots the device.
|
Command.Builder |
reboot(Reboot reboot)
Reboots the device.
|
default Command.Builder |
unlock(Consumer<Unlock.Builder> unlock)
Unlocks the device.
|
Command.Builder |
unlock(Unlock unlock)
Unlocks the device.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildCommand.Builder reboot(Reboot reboot)
Reboots the device.
reboot - Reboots the device.default Command.Builder reboot(Consumer<Reboot.Builder> reboot)
Reboots the device.
This is a convenience method that creates an instance of theReboot.Builder avoiding the need to
create one manually via Reboot.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to reboot(Reboot).
reboot - a consumer that will call methods on Reboot.Builderreboot(Reboot)Command.Builder unlock(Unlock unlock)
Unlocks the device.
unlock - Unlocks the device.default Command.Builder unlock(Consumer<Unlock.Builder> unlock)
Unlocks the device.
This is a convenience method that creates an instance of theUnlock.Builder avoiding the need to
create one manually via Unlock.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to unlock(Unlock).
unlock - a consumer that will call methods on Unlock.Builderunlock(Unlock)Copyright © 2023. All rights reserved.