public static final class BootTypes.UpdateSpec.Builder
extends java.lang.Object
BootTypes.UpdateSpec
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
BootTypes.UpdateSpec . |
Modifier and Type | Method and Description |
---|---|
BootTypes.UpdateSpec |
build() |
BootTypes.UpdateSpec.Builder |
setDelay(java.lang.Long delay)
Delay in milliseconds before beginning the firmware boot process when the
virtual machine is powered on.
|
BootTypes.UpdateSpec.Builder |
setEfiLegacyBoot(java.lang.Boolean efiLegacyBoot)
Flag indicating whether to use EFI legacy boot mode.
|
BootTypes.UpdateSpec.Builder |
setEnterSetupMode(java.lang.Boolean enterSetupMode)
Flag indicating whether the firmware boot process should automatically enter
setup mode the next time the virtual machine boots.
|
BootTypes.UpdateSpec.Builder |
setNetworkProtocol(BootTypes.NetworkProtocol networkProtocol)
Protocol to use when attempting to boot the virtual machine over the network.
|
BootTypes.UpdateSpec.Builder |
setRetry(java.lang.Boolean retry)
Flag indicating whether the virtual machine should automatically retry the boot
process after a failure.
|
BootTypes.UpdateSpec.Builder |
setRetryDelay(java.lang.Long retryDelay)
Delay in milliseconds before retrying the boot process after a failure;
applicable only when
BootTypes.Info.getRetry() is true. |
BootTypes.UpdateSpec.Builder |
setType(BootTypes.Type type)
Firmware type to be used by the virtual machine.
|
public Builder()
BootTypes.UpdateSpec
.public BootTypes.UpdateSpec.Builder setType(BootTypes.Type type)
null
, the value is unchanged.type
- New value for the property.public BootTypes.UpdateSpec.Builder setEfiLegacyBoot(java.lang.Boolean efiLegacyBoot)
null
, the value is unchanged.efiLegacyBoot
- New value for the property.public BootTypes.UpdateSpec.Builder setNetworkProtocol(BootTypes.NetworkProtocol networkProtocol)
null
, the value is unchanged.networkProtocol
- New value for the property.public BootTypes.UpdateSpec.Builder setDelay(java.lang.Long delay)
null
, the value is unchanged.delay
- New value for the property.public BootTypes.UpdateSpec.Builder setRetry(java.lang.Boolean retry)
null
, the value is unchanged.retry
- New value for the property.public BootTypes.UpdateSpec.Builder setRetryDelay(java.lang.Long retryDelay)
BootTypes.Info.getRetry()
is true.
If null
, the value is unchanged.retryDelay
- New value for the property.public BootTypes.UpdateSpec.Builder setEnterSetupMode(java.lang.Boolean enterSetupMode)
null
, the value is unchanged.enterSetupMode
- New value for the property.public BootTypes.UpdateSpec build()