public class VirtualDiskAntiAffinityRuleSpec extends ClusterRuleInfo
Java class for VirtualDiskAntiAffinityRuleSpec complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="VirtualDiskAntiAffinityRuleSpec">
<complexContent>
<extension base="{urn:vim25}ClusterRuleInfo">
<sequence>
<element name="diskId" type="{http://www.w3.org/2001/XMLSchema}int" maxOccurs="unbounded"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<Integer> |
diskId |
enabled, inCompliance, key, mandatory, name, ruleUuid, status, userCreated| Constructor and Description |
|---|
VirtualDiskAntiAffinityRuleSpec() |
| Modifier and Type | Method and Description |
|---|---|
List<Integer> |
getDiskId()
Gets the value of the diskId property.
|
getKey, getName, getRuleUuid, getStatus, isEnabled, isInCompliance, isMandatory, isUserCreated, setEnabled, setInCompliance, setKey, setMandatory, setName, setRuleUuid, setStatus, setUserCreatedpublic List<Integer> getDiskId()
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 diskId property.
For example, to add a new item, do as follows:
getDiskId().add(newItem);
Objects of the following type(s) are allowed in the list
Integer
Copyright © 2018. All rights reserved.