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