All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.vmware.vim25.PlacementRankSpec Maven / Gradle / Ivy

There is a newer version: 0.6.60
Show newest version

package com.vmware.vim25;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * 

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>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "PlacementRankSpec", propOrder = { "specs", "clusters", "rules", "placementRankByVm" }) public class PlacementRankSpec extends DynamicData { @XmlElement(required = true) protected List specs; @XmlElement(required = true) protected List clusters; protected List rules; protected List placementRankByVm; /** * Gets the value of the specs property. * *

* 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 * {@link PlacementSpec } * * */ public List getSpecs() { if (specs == null) { specs = new ArrayList(); } return this.specs; } /** * Gets the value of the clusters property. * *

* 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 * {@link ManagedObjectReference } * * */ public List getClusters() { if (clusters == null) { clusters = new ArrayList(); } return this.clusters; } /** * Gets the value of the rules property. * *

* 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 * {@link PlacementAffinityRule } * * */ public List getRules() { if (rules == null) { rules = new ArrayList(); } return this.rules; } /** * Gets the value of the placementRankByVm property. * *

* 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 * {@link StorageDrsPlacementRankVmSpec } * * */ public List getPlacementRankByVm() { if (placementRankByVm == null) { placementRankByVm = new ArrayList(); } return this.placementRankByVm; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy