public class ClusterFailoverHostAdmissionControlPolicy extends ClusterDasAdmissionControlPolicy
Java class for ClusterFailoverHostAdmissionControlPolicy complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ClusterFailoverHostAdmissionControlPolicy">
<complexContent>
<extension base="{urn:vim25}ClusterDasAdmissionControlPolicy">
<sequence>
<element name="failoverHosts" type="{urn:vim25}ManagedObjectReference" maxOccurs="unbounded" minOccurs="0"/>
<element name="failoverLevel" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<ManagedObjectReference> |
failoverHosts |
protected Integer |
failoverLevel |
resourceReductionToToleratePercent| Constructor and Description |
|---|
ClusterFailoverHostAdmissionControlPolicy() |
| Modifier and Type | Method and Description |
|---|---|
List<ManagedObjectReference> |
getFailoverHosts()
Gets the value of the failoverHosts property.
|
Integer |
getFailoverLevel()
Gets the value of the failoverLevel property.
|
void |
setFailoverLevel(Integer value)
Sets the value of the failoverLevel property.
|
getResourceReductionToToleratePercent, setResourceReductionToToleratePercentprotected List<ManagedObjectReference> failoverHosts
protected Integer failoverLevel
public ClusterFailoverHostAdmissionControlPolicy()
public List<ManagedObjectReference> getFailoverHosts()
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 failoverHosts property.
For example, to add a new item, do as follows:
getFailoverHosts().add(newItem);
Objects of the following type(s) are allowed in the list
ManagedObjectReference
public Integer getFailoverLevel()
IntegerCopyright © 2018. All rights reserved.