public static final class CdromTypes.BackingInfo.Builder
extends java.lang.Object
CdromTypes.BackingInfo
.Constructor and Description |
---|
Builder(CdromTypes.BackingType type)
Constructor with parameters for the required properties of
CdromTypes.BackingInfo . |
Modifier and Type | Method and Description |
---|---|
CdromTypes.BackingInfo |
build() |
CdromTypes.BackingInfo.Builder |
setAutoDetect(java.lang.Boolean autoDetect)
Flag indicating whether the virtual CD-ROM device is configured to automatically
detect a suitable host device.
|
CdromTypes.BackingInfo.Builder |
setDeviceAccessType(CdromTypes.DeviceAccessType deviceAccessType)
Access type for the device backing.
|
CdromTypes.BackingInfo.Builder |
setHostDevice(java.lang.String hostDevice)
Name of the host device backing the virtual CD-ROM device.
|
CdromTypes.BackingInfo.Builder |
setIsoFile(java.lang.String isoFile)
Path of the image file backing the virtual CD-ROM device.
|
public Builder(CdromTypes.BackingType type)
CdromTypes.BackingInfo
.public CdromTypes.BackingInfo.Builder setIsoFile(java.lang.String isoFile)
getType()
is CdromTypes.BackingType.ISO_FILE
.isoFile
- New value for the property.public CdromTypes.BackingInfo.Builder setHostDevice(java.lang.String hostDevice)
null
if getAutoDetect()
is true and the
virtual CD-ROM device is not connected or no suitable device is available on the
host.hostDevice
- New value for the property.public CdromTypes.BackingInfo.Builder setAutoDetect(java.lang.Boolean autoDetect)
getType()
is CdromTypes.BackingType.HOST_DEVICE
.autoDetect
- New value for the property.public CdromTypes.BackingInfo.Builder setDeviceAccessType(CdromTypes.DeviceAccessType deviceAccessType)
getType()
is one of CdromTypes.BackingType.HOST_DEVICE
or CdromTypes.BackingType.CLIENT_DEVICE
.deviceAccessType
- New value for the property.public CdromTypes.BackingInfo build()