public static final class FloppyTypes.BackingSpec.Builder
extends java.lang.Object
FloppyTypes.BackingSpec
.Constructor and Description |
---|
Builder(FloppyTypes.BackingType type)
Constructor with parameters for the required properties of
FloppyTypes.BackingSpec . |
Modifier and Type | Method and Description |
---|---|
FloppyTypes.BackingSpec |
build() |
FloppyTypes.BackingSpec.Builder |
setHostDevice(java.lang.String hostDevice)
Name of the device that should be used as the virtual floppy drive backing.
|
FloppyTypes.BackingSpec.Builder |
setImageFile(java.lang.String imageFile)
Path of the image file that should be used as the virtual floppy drive backing.
|
public Builder(FloppyTypes.BackingType type)
FloppyTypes.BackingSpec
.public FloppyTypes.BackingSpec.Builder setImageFile(java.lang.String imageFile)
getType()
is FloppyTypes.BackingType.IMAGE_FILE
.imageFile
- New value for the property.public FloppyTypes.BackingSpec.Builder setHostDevice(java.lang.String hostDevice)
null
, the virtual floppy drive will be configured to automatically
detect a suitable host device.hostDevice
- New value for the property.public FloppyTypes.BackingSpec build()