public class VirtualMachineDiskDeviceInfo extends VirtualMachineTargetInfo
Java class for VirtualMachineDiskDeviceInfo complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="VirtualMachineDiskDeviceInfo">
<complexContent>
<extension base="{urn:vim25}VirtualMachineTargetInfo">
<sequence>
<element name="capacity" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="vm" type="{urn:vim25}ManagedObjectReference" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Long |
capacity |
protected List<ManagedObjectReference> |
vm |
configurationTag, name| Constructor and Description |
|---|
VirtualMachineDiskDeviceInfo() |
| Modifier and Type | Method and Description |
|---|---|
Long |
getCapacity()
Gets the value of the capacity property.
|
List<ManagedObjectReference> |
getVm()
Gets the value of the vm property.
|
void |
setCapacity(Long value)
Sets the value of the capacity property.
|
getConfigurationTag, getName, setNameprotected Long capacity
protected List<ManagedObjectReference> vm
public Long getCapacity()
Longpublic void setCapacity(Long value)
value - allowed object is
Longpublic List<ManagedObjectReference> getVm()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the vm property.
For example, to add a new item, do as follows:
getVm().add(newItem);
Objects of the following type(s) are allowed in the list
ManagedObjectReference
Copyright © 2018. All rights reserved.