public static final class DeviceTypes.Entry.Builder
extends java.lang.Object
DeviceTypes.Entry
.Constructor and Description |
---|
Builder(DeviceTypes.Type type)
Constructor with parameters for the required properties of
DeviceTypes.Entry . |
Modifier and Type | Method and Description |
---|---|
DeviceTypes.Entry |
build() |
DeviceTypes.Entry.Builder |
setDisks(java.util.List<java.lang.String> disks)
Virtual disk device.
|
DeviceTypes.Entry.Builder |
setNic(java.lang.String nic)
Virtual Ethernet device.
|
public Builder(DeviceTypes.Type type)
DeviceTypes.Entry
.public DeviceTypes.Entry.Builder setNic(java.lang.String nic)
getType()
is DeviceTypes.Type.ETHERNET
.nic
- New value for the property.
When clients pass a value of this class as a parameter, the property must be an
identifier for the resource type: com.vmware.vcenter.vm.hardware.Ethernet
. When methods return a value of this
class as a return value, the property will be an identifier for the resource
type: com.vmware.vcenter.vm.hardware.Ethernet
.public DeviceTypes.Entry.Builder setDisks(java.util.List<java.lang.String> disks)
getType()
is DeviceTypes.Type.DISK
.disks
- New value for the property.
When clients pass a value of this class as a parameter, the property must
contain identifiers for the resource type: com.vmware.vcenter.vm.hardware.Disk
. When methods return a value of this class
as a return value, the property will contain identifiers for the resource type:
com.vmware.vcenter.vm.hardware.Disk
.public DeviceTypes.Entry build()