public class ClusterHostGroup extends ClusterGroupInfo
Java class for ClusterHostGroup complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ClusterHostGroup">
<complexContent>
<extension base="{urn:vim25}ClusterGroupInfo">
<sequence>
<element name="host" type="{urn:vim25}ManagedObjectReference" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<ManagedObjectReference> |
host |
name, uniqueID, userCreated| Constructor and Description |
|---|
ClusterHostGroup() |
| Modifier and Type | Method and Description |
|---|---|
List<ManagedObjectReference> |
getHost()
Gets the value of the host property.
|
getName, getUniqueID, isUserCreated, setName, setUniqueID, setUserCreatedprotected List<ManagedObjectReference> host
public List<ManagedObjectReference> getHost()
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 host property.
For example, to add a new item, do as follows:
getHost().add(newItem);
Objects of the following type(s) are allowed in the list
ManagedObjectReference
Copyright © 2018. All rights reserved.