
com.vmware.vim25.StorageDrsConfigSpec Maven / Gradle / Ivy
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.XmlType;
/**
* Java class for StorageDrsConfigSpec complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="StorageDrsConfigSpec">
* <complexContent>
* <extension base="{urn:vim25}DynamicData">
* <sequence>
* <element name="podConfigSpec" type="{urn:vim25}StorageDrsPodConfigSpec" minOccurs="0"/>
* <element name="vmConfigSpec" type="{urn:vim25}StorageDrsVmConfigSpec" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "StorageDrsConfigSpec", propOrder = {
"podConfigSpec",
"vmConfigSpec"
})
public class StorageDrsConfigSpec
extends DynamicData
{
protected StorageDrsPodConfigSpec podConfigSpec;
protected List vmConfigSpec;
/**
* Gets the value of the podConfigSpec property.
*
* @return
* possible object is
* {@link StorageDrsPodConfigSpec }
*
*/
public StorageDrsPodConfigSpec getPodConfigSpec() {
return podConfigSpec;
}
/**
* Sets the value of the podConfigSpec property.
*
* @param value
* allowed object is
* {@link StorageDrsPodConfigSpec }
*
*/
public void setPodConfigSpec(StorageDrsPodConfigSpec value) {
this.podConfigSpec = value;
}
/**
* Gets the value of the vmConfigSpec 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 vmConfigSpec property.
*
*
* For example, to add a new item, do as follows:
*
* getVmConfigSpec().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link StorageDrsVmConfigSpec }
*
*
*/
public List getVmConfigSpec() {
if (vmConfigSpec == null) {
vmConfigSpec = new ArrayList();
}
return this.vmConfigSpec;
}
}