public static final class CdromTypes.Info.Builder
extends java.lang.Object
CdromTypes.Info
.Constructor and Description |
---|
Builder(CdromTypes.HostBusAdapterType type,
java.lang.String label,
CdromTypes.BackingInfo backing,
ConnectionState state,
boolean startConnected,
boolean allowGuestControl)
Constructor with parameters for the required properties of
CdromTypes.Info . |
Modifier and Type | Method and Description |
---|---|
CdromTypes.Info |
build() |
CdromTypes.Info.Builder |
setIde(IdeAddressInfo ide)
Address of device attached to a virtual IDE adapter.
|
CdromTypes.Info.Builder |
setSata(SataAddressInfo sata)
Address of device attached to a virtual SATA adapter.
|
public Builder(CdromTypes.HostBusAdapterType type, java.lang.String label, CdromTypes.BackingInfo backing, ConnectionState state, boolean startConnected, boolean allowGuestControl)
CdromTypes.Info
.public CdromTypes.Info.Builder setIde(IdeAddressInfo ide)
getType()
is CdromTypes.HostBusAdapterType.IDE
.ide
- New value for the property.public CdromTypes.Info.Builder setSata(SataAddressInfo sata)
getType()
is CdromTypes.HostBusAdapterType.SATA
.sata
- New value for the property.public CdromTypes.Info build()