public static final class ScsiTypes.CreateSpec.Builder
extends java.lang.Object
ScsiTypes.CreateSpec
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
ScsiTypes.CreateSpec . |
Modifier and Type | Method and Description |
---|---|
ScsiTypes.CreateSpec |
build() |
ScsiTypes.CreateSpec.Builder |
setBus(java.lang.Long bus)
SCSI bus number.
|
ScsiTypes.CreateSpec.Builder |
setPciSlotNumber(java.lang.Long pciSlotNumber)
Address of the SCSI adapter on the PCI bus.
|
ScsiTypes.CreateSpec.Builder |
setSharing(ScsiTypes.Sharing sharing)
Bus sharing mode.
|
ScsiTypes.CreateSpec.Builder |
setType(ScsiTypes.Type type)
Adapter type.
|
public Builder()
ScsiTypes.CreateSpec
.public ScsiTypes.CreateSpec.Builder setType(ScsiTypes.Type type)
null
, a guest-specific default value will be used.type
- New value for the property.public ScsiTypes.CreateSpec.Builder setBus(java.lang.Long bus)
null
, the server will choose an available bus number; if none is
available, the request will fail.bus
- New value for the property.public ScsiTypes.CreateSpec.Builder setPciSlotNumber(java.lang.Long pciSlotNumber)
null
, the server will choose an available address when the virtual
machine is powered on.pciSlotNumber
- New value for the property.public ScsiTypes.CreateSpec.Builder setSharing(ScsiTypes.Sharing sharing)
null
, the adapter will default to ScsiTypes.Sharing.NONE
.sharing
- New value for the property.public ScsiTypes.CreateSpec build()