public class VirtualMachineStorageInfo extends DynamicData
Java class for VirtualMachineStorageInfo complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="VirtualMachineStorageInfo">
<complexContent>
<extension base="{urn:vim25}DynamicData">
<sequence>
<element name="perDatastoreUsage" type="{urn:vim25}VirtualMachineUsageOnDatastore" maxOccurs="unbounded" minOccurs="0"/>
<element name="timestamp" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<VirtualMachineUsageOnDatastore> |
perDatastoreUsage |
protected XMLGregorianCalendar |
timestamp |
| Constructor and Description |
|---|
VirtualMachineStorageInfo() |
| Modifier and Type | Method and Description |
|---|---|
List<VirtualMachineUsageOnDatastore> |
getPerDatastoreUsage()
Gets the value of the perDatastoreUsage property.
|
XMLGregorianCalendar |
getTimestamp()
Gets the value of the timestamp property.
|
void |
setTimestamp(XMLGregorianCalendar value)
Sets the value of the timestamp property.
|
protected List<VirtualMachineUsageOnDatastore> perDatastoreUsage
protected XMLGregorianCalendar timestamp
public List<VirtualMachineUsageOnDatastore> getPerDatastoreUsage()
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 perDatastoreUsage property.
For example, to add a new item, do as follows:
getPerDatastoreUsage().add(newItem);
Objects of the following type(s) are allowed in the list
VirtualMachineUsageOnDatastore
public XMLGregorianCalendar getTimestamp()
XMLGregorianCalendarpublic void setTimestamp(XMLGregorianCalendar value)
value - allowed object is
XMLGregorianCalendarCopyright © 2018. All rights reserved.