public static final class VMTypes.Info.Builder
extends java.lang.Object
VMTypes.Info
.Constructor and Description |
---|
Builder(GuestOS guestOS,
java.lang.String name,
PowerTypes.State powerState,
HardwareTypes.Info hardware,
BootTypes.Info boot,
java.util.List<DeviceTypes.Entry> bootDevices,
CpuTypes.Info cpu,
MemoryTypes.Info memory,
java.util.Map<java.lang.String,DiskTypes.Info> disks,
java.util.Map<java.lang.String,EthernetTypes.Info> nics,
java.util.Map<java.lang.String,CdromTypes.Info> cdroms,
java.util.Map<java.lang.String,FloppyTypes.Info> floppies,
java.util.Map<java.lang.String,ParallelTypes.Info> parallelPorts,
java.util.Map<java.lang.String,SerialTypes.Info> serialPorts,
java.util.Map<java.lang.String,SataTypes.Info> sataAdapters,
java.util.Map<java.lang.String,ScsiTypes.Info> scsiAdapters)
Constructor with parameters for the required properties of
VMTypes.Info . |
Modifier and Type | Method and Description |
---|---|
VMTypes.Info |
build() |
VMTypes.Info.Builder |
setIdentity(IdentityTypes.Info identity)
Identity of the virtual machine.
|
VMTypes.Info.Builder |
setInstantCloneFrozen(java.lang.Boolean instantCloneFrozen)
Indicates whether the virtual machine is frozen for instant clone, or not.
|
public Builder(GuestOS guestOS, java.lang.String name, PowerTypes.State powerState, HardwareTypes.Info hardware, BootTypes.Info boot, java.util.List<DeviceTypes.Entry> bootDevices, CpuTypes.Info cpu, MemoryTypes.Info memory, java.util.Map<java.lang.String,DiskTypes.Info> disks, java.util.Map<java.lang.String,EthernetTypes.Info> nics, java.util.Map<java.lang.String,CdromTypes.Info> cdroms, java.util.Map<java.lang.String,FloppyTypes.Info> floppies, java.util.Map<java.lang.String,ParallelTypes.Info> parallelPorts, java.util.Map<java.lang.String,SerialTypes.Info> serialPorts, java.util.Map<java.lang.String,SataTypes.Info> sataAdapters, java.util.Map<java.lang.String,ScsiTypes.Info> scsiAdapters)
VMTypes.Info
.public VMTypes.Info.Builder setIdentity(IdentityTypes.Info identity)
identity
- New value for the property.public VMTypes.Info.Builder setInstantCloneFrozen(java.lang.Boolean instantCloneFrozen)
instantCloneFrozen
- New value for the property.public VMTypes.Info build()