public static final class SerialTypes.UpdateSpec.Builder
extends java.lang.Object
SerialTypes.UpdateSpec
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
SerialTypes.UpdateSpec . |
Modifier and Type | Method and Description |
---|---|
SerialTypes.UpdateSpec |
build() |
SerialTypes.UpdateSpec.Builder |
setAllowGuestControl(java.lang.Boolean allowGuestControl)
Flag indicating whether the guest can connect and disconnect the device.
|
SerialTypes.UpdateSpec.Builder |
setBacking(SerialTypes.BackingSpec backing)
Physical resource backing for the virtual serial port.
|
SerialTypes.UpdateSpec.Builder |
setStartConnected(java.lang.Boolean startConnected)
Flag indicating whether the virtual device should be connected whenever the
virtual machine is powered on.
|
SerialTypes.UpdateSpec.Builder |
setYieldOnPoll(java.lang.Boolean yieldOnPoll)
CPU yield behavior.
|
public Builder()
SerialTypes.UpdateSpec
.public SerialTypes.UpdateSpec.Builder setYieldOnPoll(java.lang.Boolean yieldOnPoll)
This property may be modified at any time, and changes applied to a connected virtual serial port take effect immediately.
Ifnull
, the value is unchanged.yieldOnPoll
- New value for the property.public SerialTypes.UpdateSpec.Builder setBacking(SerialTypes.BackingSpec backing)
This property may only be modified if the virtual machine is not powered on or the virtual serial port is not connected.
Ifnull
, the value is unchanged.backing
- New value for the property.public SerialTypes.UpdateSpec.Builder setStartConnected(java.lang.Boolean startConnected)
null
, the value is unchanged.startConnected
- New value for the property.public SerialTypes.UpdateSpec.Builder setAllowGuestControl(java.lang.Boolean allowGuestControl)
null
, the value is unchanged.allowGuestControl
- New value for the property.public SerialTypes.UpdateSpec build()