public static final class CdromTypes.BackingInfo.Builder extends Object
CdromTypes.BackingInfo
.Constructor and Description |
---|
CdromTypes.BackingInfo.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(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(String hostDevice)
Name of the host device backing the virtual CD-ROM device.
|
CdromTypes.BackingInfo.Builder |
setIsoFile(String isoFile)
Path of the image file backing the virtual CD-ROM device.
|
public CdromTypes.BackingInfo.Builder(CdromTypes.BackingType type)
CdromTypes.BackingInfo
.public CdromTypes.BackingInfo.Builder setIsoFile(String isoFile)
getType()
is CdromTypes.BackingType.ISO_FILE
.isoFile
- New value for the property.public CdromTypes.BackingInfo.Builder setHostDevice(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(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()
Copyright © 2016. All Rights Reserved.