public static final class SerialTypes.CreateSpec.Builder
extends java.lang.Object
SerialTypes.CreateSpec
.Constructor and Description |
---|
SerialTypes.CreateSpec.Builder()
Constructor with parameters for the required properties of
SerialTypes.CreateSpec . |
Modifier and Type | Method and Description |
---|---|
SerialTypes.CreateSpec |
build() |
SerialTypes.CreateSpec.Builder |
setAllowGuestControl(java.lang.Boolean allowGuestControl)
Flag indicating whether the guest can connect and disconnect the device.
|
SerialTypes.CreateSpec.Builder |
setBacking(SerialTypes.BackingSpec backing)
Physical resource backing for the virtual serial port.
|
SerialTypes.CreateSpec.Builder |
setStartConnected(java.lang.Boolean startConnected)
Flag indicating whether the virtual device should be connected whenever the
virtual machine is powered on.
|
SerialTypes.CreateSpec.Builder |
setYieldOnPoll(java.lang.Boolean yieldOnPoll)
CPU yield behavior.
|
public SerialTypes.CreateSpec.Builder()
SerialTypes.CreateSpec
.public SerialTypes.CreateSpec.Builder setYieldOnPoll(java.lang.Boolean yieldOnPoll)
null
, defaults to false.yieldOnPoll
- New value for the property.public SerialTypes.CreateSpec.Builder setBacking(SerialTypes.BackingSpec backing)
null
, defaults to automatic detection of a suitable host device.backing
- New value for the property.public SerialTypes.CreateSpec.Builder setStartConnected(java.lang.Boolean startConnected)
null
.startConnected
- New value for the property.public SerialTypes.CreateSpec.Builder setAllowGuestControl(java.lang.Boolean allowGuestControl)
null
.allowGuestControl
- New value for the property.public SerialTypes.CreateSpec build()