public static final class CdromTypes.BackingSpec.Builder
extends java.lang.Object
CdromTypes.BackingSpec
.Constructor and Description |
---|
CdromTypes.BackingSpec.Builder(CdromTypes.BackingType type)
Constructor with parameters for the required properties of
CdromTypes.BackingSpec . |
Modifier and Type | Method and Description |
---|---|
CdromTypes.BackingSpec |
build() |
CdromTypes.BackingSpec.Builder |
setDeviceAccessType(CdromTypes.DeviceAccessType deviceAccessType)
Access type for the device backing.
|
CdromTypes.BackingSpec.Builder |
setHostDevice(java.lang.String hostDevice)
Name of the device that should be used as the virtual CD-ROM device backing.
|
CdromTypes.BackingSpec.Builder |
setIsoFile(java.lang.String isoFile)
Path of the image file that should be used as the virtual CD-ROM device backing.
|
public CdromTypes.BackingSpec.Builder(CdromTypes.BackingType type)
CdromTypes.BackingSpec
.public CdromTypes.BackingSpec.Builder setIsoFile(java.lang.String isoFile)
getType()
is CdromTypes.BackingType.ISO_FILE
.isoFile
- New value for the property.public CdromTypes.BackingSpec.Builder setHostDevice(java.lang.String hostDevice)
null
, the virtual CD-ROM device will be configured to automatically
detect a suitable host device.hostDevice
- New value for the property.public CdromTypes.BackingSpec.Builder setDeviceAccessType(CdromTypes.DeviceAccessType deviceAccessType)
null
, defaults to CdromTypes.DeviceAccessType.EMULATION
.deviceAccessType
- New value for the property.public CdromTypes.BackingSpec build()