public static final class CdromTypes.CreateSpec.Builder extends Object
CdromTypes.CreateSpec.| Constructor and Description |
|---|
CdromTypes.CreateSpec.Builder()
Constructor with parameters for the required properties of
CdromTypes.CreateSpec. |
| Modifier and Type | Method and Description |
|---|---|
CdromTypes.CreateSpec |
build() |
CdromTypes.CreateSpec.Builder |
setAllowGuestControl(Boolean allowGuestControl)
Flag indicating whether the guest can connect and disconnect the device.
|
CdromTypes.CreateSpec.Builder |
setBacking(CdromTypes.BackingSpec backing)
Physical resource backing for the virtual CD-ROM device.
|
CdromTypes.CreateSpec.Builder |
setIde(IdeAddressSpec ide)
Address for attaching the device to a virtual IDE adapter.
|
CdromTypes.CreateSpec.Builder |
setSata(SataAddressSpec sata)
Address for attaching the device to a virtual SATA adapter.
|
CdromTypes.CreateSpec.Builder |
setStartConnected(Boolean startConnected)
Flag indicating whether the virtual device should be connected whenever the
virtual machine is powered on.
|
CdromTypes.CreateSpec.Builder |
setType(CdromTypes.HostBusAdapterType type)
Type of host bus adapter to which the device should be attached.
|
public CdromTypes.CreateSpec.Builder()
CdromTypes.CreateSpec.public CdromTypes.CreateSpec.Builder setType(CdromTypes.HostBusAdapterType type)
null, guest-specific default values will be usedtype - New value for the property.public CdromTypes.CreateSpec.Builder setIde(IdeAddressSpec ide)
null, the server will choose an available address; if none is
available, the request will fail.ide - New value for the property.public CdromTypes.CreateSpec.Builder setSata(SataAddressSpec sata)
null, the server will choose an available address; if none is
available, the request will fail.sata - New value for the property.public CdromTypes.CreateSpec.Builder setBacking(CdromTypes.BackingSpec backing)
null, defaults to automatic detection of a suitable host device.backing - New value for the property.public CdromTypes.CreateSpec.Builder setStartConnected(Boolean startConnected)
null.startConnected - New value for the property.public CdromTypes.CreateSpec.Builder setAllowGuestControl(Boolean allowGuestControl)
null.allowGuestControl - New value for the property.public CdromTypes.CreateSpec build()
Copyright © 2016. All Rights Reserved.