public static final class CdromTypes.UpdateSpec.Builder
extends java.lang.Object
CdromTypes.UpdateSpec
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
CdromTypes.UpdateSpec . |
Modifier and Type | Method and Description |
---|---|
CdromTypes.UpdateSpec |
build() |
CdromTypes.UpdateSpec.Builder |
setAllowGuestControl(java.lang.Boolean allowGuestControl)
Flag indicating whether the guest can connect and disconnect the device.
|
CdromTypes.UpdateSpec.Builder |
setBacking(CdromTypes.BackingSpec backing)
Physical resource backing for the virtual CD-ROM device.
|
CdromTypes.UpdateSpec.Builder |
setStartConnected(java.lang.Boolean startConnected)
Flag indicating whether the virtual device should be connected whenever the
virtual machine is powered on.
|
public Builder()
CdromTypes.UpdateSpec
.public CdromTypes.UpdateSpec.Builder setBacking(CdromTypes.BackingSpec backing)
This property may only be modified if the virtual machine is not powered on or the virtual CD-ROM device is not connected.
Ifnull
, the value is unchanged.backing
- New value for the property.public CdromTypes.UpdateSpec.Builder setStartConnected(java.lang.Boolean startConnected)
null
, the value is unchanged.startConnected
- New value for the property.public CdromTypes.UpdateSpec.Builder setAllowGuestControl(java.lang.Boolean allowGuestControl)
null
, the value is unchanged.allowGuestControl
- New value for the property.public CdromTypes.UpdateSpec build()