public static final class FloppyTypes.BackingInfo.Builder
extends java.lang.Object
FloppyTypes.BackingInfo
.Constructor and Description |
---|
FloppyTypes.BackingInfo.Builder(FloppyTypes.BackingType type)
Constructor with parameters for the required properties of
FloppyTypes.BackingInfo . |
Modifier and Type | Method and Description |
---|---|
FloppyTypes.BackingInfo |
build() |
FloppyTypes.BackingInfo.Builder |
setAutoDetect(java.lang.Boolean autoDetect)
Flag indicating whether the virtual floppy drive is configured to automatically
detect a suitable host device.
|
FloppyTypes.BackingInfo.Builder |
setHostDevice(java.lang.String hostDevice)
Name of the host device backing the virtual floppy drive.
|
FloppyTypes.BackingInfo.Builder |
setImageFile(java.lang.String imageFile)
Path of the image file backing the virtual floppy drive.
|
public FloppyTypes.BackingInfo.Builder(FloppyTypes.BackingType type)
FloppyTypes.BackingInfo
.public FloppyTypes.BackingInfo.Builder setImageFile(java.lang.String imageFile)
getType()
is FloppyTypes.BackingType.IMAGE_FILE
.imageFile
- New value for the property.public FloppyTypes.BackingInfo.Builder setHostDevice(java.lang.String hostDevice)
null
if getAutoDetect()
is true and the
virtual floppy drive is not connected or no suitable device is available on the
host.hostDevice
- New value for the property.public FloppyTypes.BackingInfo.Builder setAutoDetect(java.lang.Boolean autoDetect)
getType()
is FloppyTypes.BackingType.HOST_DEVICE
.autoDetect
- New value for the property.public FloppyTypes.BackingInfo build()