public static final class SerialTypes.CreateSpec.Builder extends 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(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(Boolean startConnected)
Flag indicating whether the virtual device should be connected whenever the
virtual machine is powered on.
|
SerialTypes.CreateSpec.Builder |
setYieldOnPoll(Boolean yieldOnPoll)
CPU yield behavior.
|
public SerialTypes.CreateSpec.Builder()
SerialTypes.CreateSpec.public SerialTypes.CreateSpec.Builder setYieldOnPoll(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(Boolean startConnected)
null.startConnected - New value for the property.public SerialTypes.CreateSpec.Builder setAllowGuestControl(Boolean allowGuestControl)
null.allowGuestControl - New value for the property.public SerialTypes.CreateSpec build()
Copyright © 2016. All Rights Reserved.