Interface Command.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<Command.Builder,,- Command> - SdkBuilder<Command.Builder,,- Command> - SdkPojo
- Enclosing class:
- Command
@Mutable
@NotThreadSafe
public static interface Command.Builder
extends SdkPojo, CopyableBuilder<Command.Builder,Command> 
- 
Method SummaryModifier and TypeMethodDescriptiondefault Command.Builderreboot(Consumer<Reboot.Builder> reboot) Reboots the device.Reboots the device.default Command.Builderunlock(Consumer<Unlock.Builder> unlock) Unlocks the device.Unlocks the device.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
rebootReboots the device. - Parameters:
- reboot- Reboots the device.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
rebootReboots the device. This is a convenience method that creates an instance of theReboot.Builderavoiding the need to create one manually viaReboot.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toreboot(Reboot).- Parameters:
- reboot- a consumer that will call methods on- Reboot.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
unlockUnlocks the device. - Parameters:
- unlock- Unlocks the device.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
unlockUnlocks the device. This is a convenience method that creates an instance of theUnlock.Builderavoiding the need to create one manually viaUnlock.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tounlock(Unlock).- Parameters:
- unlock- a consumer that will call methods on- Unlock.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-