public class PlacementRankSpec extends DynamicData
Java class for PlacementRankSpec complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PlacementRankSpec">
<complexContent>
<extension base="{urn:vim25}DynamicData">
<sequence>
<element name="specs" type="{urn:vim25}PlacementSpec" maxOccurs="unbounded"/>
<element name="clusters" type="{urn:vim25}ManagedObjectReference" maxOccurs="unbounded"/>
<element name="rules" type="{urn:vim25}PlacementAffinityRule" maxOccurs="unbounded" minOccurs="0"/>
<element name="placementRankByVm" type="{urn:vim25}StorageDrsPlacementRankVmSpec" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<ManagedObjectReference> |
clusters |
protected List<StorageDrsPlacementRankVmSpec> |
placementRankByVm |
protected List<PlacementAffinityRule> |
rules |
protected List<PlacementSpec> |
specs |
| Constructor and Description |
|---|
PlacementRankSpec() |
| Modifier and Type | Method and Description |
|---|---|
List<ManagedObjectReference> |
getClusters()
Gets the value of the clusters property.
|
List<StorageDrsPlacementRankVmSpec> |
getPlacementRankByVm()
Gets the value of the placementRankByVm property.
|
List<PlacementAffinityRule> |
getRules()
Gets the value of the rules property.
|
List<PlacementSpec> |
getSpecs()
Gets the value of the specs property.
|
protected List<PlacementSpec> specs
protected List<ManagedObjectReference> clusters
protected List<PlacementAffinityRule> rules
protected List<StorageDrsPlacementRankVmSpec> placementRankByVm
public List<PlacementSpec> getSpecs()
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 specs property.
For example, to add a new item, do as follows:
getSpecs().add(newItem);
Objects of the following type(s) are allowed in the list
PlacementSpec
public List<ManagedObjectReference> getClusters()
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 clusters property.
For example, to add a new item, do as follows:
getClusters().add(newItem);
Objects of the following type(s) are allowed in the list
ManagedObjectReference
public List<PlacementAffinityRule> getRules()
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 rules property.
For example, to add a new item, do as follows:
getRules().add(newItem);
Objects of the following type(s) are allowed in the list
PlacementAffinityRule
public List<StorageDrsPlacementRankVmSpec> getPlacementRankByVm()
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 placementRankByVm property.
For example, to add a new item, do as follows:
getPlacementRankByVm().add(newItem);
Objects of the following type(s) are allowed in the list
StorageDrsPlacementRankVmSpec
Copyright © 2018. All rights reserved.