public static final class FloppyTypes.BackingInfo.Builder extends 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(Boolean autoDetect)
Flag indicating whether the virtual floppy drive is configured to automatically
detect a suitable host device.
|
FloppyTypes.BackingInfo.Builder |
setHostDevice(String hostDevice)
Name of the host device backing the virtual floppy drive.
|
FloppyTypes.BackingInfo.Builder |
setImageFile(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(String imageFile)
getType()
is FloppyTypes.BackingType.IMAGE_FILE
.imageFile
- New value for the property.public FloppyTypes.BackingInfo.Builder setHostDevice(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(Boolean autoDetect)
getType()
is FloppyTypes.BackingType.HOST_DEVICE
.autoDetect
- New value for the property.public FloppyTypes.BackingInfo build()
Copyright © 2016. All Rights Reserved.