public class DasHeartbeatDatastoreInfo extends DynamicData
Java class for DasHeartbeatDatastoreInfo complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="DasHeartbeatDatastoreInfo">
<complexContent>
<extension base="{urn:vim25}DynamicData">
<sequence>
<element name="datastore" type="{urn:vim25}ManagedObjectReference"/>
<element name="hosts" type="{urn:vim25}ManagedObjectReference" maxOccurs="unbounded"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected ManagedObjectReference |
datastore |
protected List<ManagedObjectReference> |
hosts |
| Constructor and Description |
|---|
DasHeartbeatDatastoreInfo() |
| Modifier and Type | Method and Description |
|---|---|
ManagedObjectReference |
getDatastore()
Gets the value of the datastore property.
|
List<ManagedObjectReference> |
getHosts()
Gets the value of the hosts property.
|
void |
setDatastore(ManagedObjectReference value)
Sets the value of the datastore property.
|
protected ManagedObjectReference datastore
protected List<ManagedObjectReference> hosts
public ManagedObjectReference getDatastore()
ManagedObjectReferencepublic void setDatastore(ManagedObjectReference value)
value - allowed object is
ManagedObjectReferencepublic List<ManagedObjectReference> getHosts()
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 hosts property.
For example, to add a new item, do as follows:
getHosts().add(newItem);
Objects of the following type(s) are allowed in the list
ManagedObjectReference
Copyright © 2018. All rights reserved.