public class VirtualMachineSummary extends DynamicData
Java class for VirtualMachineSummary complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="VirtualMachineSummary">
<complexContent>
<extension base="{urn:vim25}DynamicData">
<sequence>
<element name="vm" type="{urn:vim25}ManagedObjectReference" minOccurs="0"/>
<element name="runtime" type="{urn:vim25}VirtualMachineRuntimeInfo"/>
<element name="guest" type="{urn:vim25}VirtualMachineGuestSummary" minOccurs="0"/>
<element name="config" type="{urn:vim25}VirtualMachineConfigSummary"/>
<element name="storage" type="{urn:vim25}VirtualMachineStorageSummary" minOccurs="0"/>
<element name="quickStats" type="{urn:vim25}VirtualMachineQuickStats"/>
<element name="overallStatus" type="{urn:vim25}ManagedEntityStatus"/>
<element name="customValue" type="{urn:vim25}CustomFieldValue" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected VirtualMachineConfigSummary |
config |
protected List<CustomFieldValue> |
customValue |
protected VirtualMachineGuestSummary |
guest |
protected ManagedEntityStatus |
overallStatus |
protected VirtualMachineQuickStats |
quickStats |
protected VirtualMachineRuntimeInfo |
runtime |
protected VirtualMachineStorageSummary |
storage |
protected ManagedObjectReference |
vm |
| Constructor and Description |
|---|
VirtualMachineSummary() |
| Modifier and Type | Method and Description |
|---|---|
VirtualMachineConfigSummary |
getConfig()
Gets the value of the config property.
|
List<CustomFieldValue> |
getCustomValue()
Gets the value of the customValue property.
|
VirtualMachineGuestSummary |
getGuest()
Gets the value of the guest property.
|
ManagedEntityStatus |
getOverallStatus()
Gets the value of the overallStatus property.
|
VirtualMachineQuickStats |
getQuickStats()
Gets the value of the quickStats property.
|
VirtualMachineRuntimeInfo |
getRuntime()
Gets the value of the runtime property.
|
VirtualMachineStorageSummary |
getStorage()
Gets the value of the storage property.
|
ManagedObjectReference |
getVm()
Gets the value of the vm property.
|
void |
setConfig(VirtualMachineConfigSummary value)
Sets the value of the config property.
|
void |
setGuest(VirtualMachineGuestSummary value)
Sets the value of the guest property.
|
void |
setOverallStatus(ManagedEntityStatus value)
Sets the value of the overallStatus property.
|
void |
setQuickStats(VirtualMachineQuickStats value)
Sets the value of the quickStats property.
|
void |
setRuntime(VirtualMachineRuntimeInfo value)
Sets the value of the runtime property.
|
void |
setStorage(VirtualMachineStorageSummary value)
Sets the value of the storage property.
|
void |
setVm(ManagedObjectReference value)
Sets the value of the vm property.
|
protected ManagedObjectReference vm
protected VirtualMachineRuntimeInfo runtime
protected VirtualMachineGuestSummary guest
protected VirtualMachineConfigSummary config
protected VirtualMachineStorageSummary storage
protected VirtualMachineQuickStats quickStats
protected ManagedEntityStatus overallStatus
protected List<CustomFieldValue> customValue
public ManagedObjectReference getVm()
ManagedObjectReferencepublic void setVm(ManagedObjectReference value)
value - allowed object is
ManagedObjectReferencepublic VirtualMachineRuntimeInfo getRuntime()
VirtualMachineRuntimeInfopublic void setRuntime(VirtualMachineRuntimeInfo value)
value - allowed object is
VirtualMachineRuntimeInfopublic VirtualMachineGuestSummary getGuest()
VirtualMachineGuestSummarypublic void setGuest(VirtualMachineGuestSummary value)
value - allowed object is
VirtualMachineGuestSummarypublic VirtualMachineConfigSummary getConfig()
VirtualMachineConfigSummarypublic void setConfig(VirtualMachineConfigSummary value)
value - allowed object is
VirtualMachineConfigSummarypublic VirtualMachineStorageSummary getStorage()
VirtualMachineStorageSummarypublic void setStorage(VirtualMachineStorageSummary value)
value - allowed object is
VirtualMachineStorageSummarypublic VirtualMachineQuickStats getQuickStats()
VirtualMachineQuickStatspublic void setQuickStats(VirtualMachineQuickStats value)
value - allowed object is
VirtualMachineQuickStatspublic ManagedEntityStatus getOverallStatus()
ManagedEntityStatuspublic void setOverallStatus(ManagedEntityStatus value)
value - allowed object is
ManagedEntityStatuspublic List<CustomFieldValue> getCustomValue()
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 customValue property.
For example, to add a new item, do as follows:
getCustomValue().add(newItem);
Objects of the following type(s) are allowed in the list
CustomFieldValue
Copyright © 2018. All rights reserved.