![JAR search and dependency download from the Maven repository](/logo.png)
com.vmware.vim25.ClusterConfigSpec 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 ClusterConfigSpec complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="ClusterConfigSpec">
* <complexContent>
* <extension base="{urn:vim25}DynamicData">
* <sequence>
* <element name="dasConfig" type="{urn:vim25}ClusterDasConfigInfo" minOccurs="0"/>
* <element name="dasVmConfigSpec" type="{urn:vim25}ClusterDasVmConfigSpec" maxOccurs="unbounded" minOccurs="0"/>
* <element name="drsConfig" type="{urn:vim25}ClusterDrsConfigInfo" minOccurs="0"/>
* <element name="drsVmConfigSpec" type="{urn:vim25}ClusterDrsVmConfigSpec" maxOccurs="unbounded" minOccurs="0"/>
* <element name="rulesSpec" type="{urn:vim25}ClusterRuleSpec" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ClusterConfigSpec", propOrder = {
"dasConfig",
"dasVmConfigSpec",
"drsConfig",
"drsVmConfigSpec",
"rulesSpec"
})
public class ClusterConfigSpec
extends DynamicData
{
protected ClusterDasConfigInfo dasConfig;
protected List dasVmConfigSpec;
protected ClusterDrsConfigInfo drsConfig;
protected List drsVmConfigSpec;
protected List rulesSpec;
/**
* Gets the value of the dasConfig property.
*
* @return
* possible object is
* {@link ClusterDasConfigInfo }
*
*/
public ClusterDasConfigInfo getDasConfig() {
return dasConfig;
}
/**
* Sets the value of the dasConfig property.
*
* @param value
* allowed object is
* {@link ClusterDasConfigInfo }
*
*/
public void setDasConfig(ClusterDasConfigInfo value) {
this.dasConfig = value;
}
/**
* Gets the value of the dasVmConfigSpec 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 dasVmConfigSpec property.
*
*
* For example, to add a new item, do as follows:
*
* getDasVmConfigSpec().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ClusterDasVmConfigSpec }
*
*
*/
public List getDasVmConfigSpec() {
if (dasVmConfigSpec == null) {
dasVmConfigSpec = new ArrayList();
}
return this.dasVmConfigSpec;
}
/**
* Gets the value of the drsConfig property.
*
* @return
* possible object is
* {@link ClusterDrsConfigInfo }
*
*/
public ClusterDrsConfigInfo getDrsConfig() {
return drsConfig;
}
/**
* Sets the value of the drsConfig property.
*
* @param value
* allowed object is
* {@link ClusterDrsConfigInfo }
*
*/
public void setDrsConfig(ClusterDrsConfigInfo value) {
this.drsConfig = value;
}
/**
* Gets the value of the drsVmConfigSpec 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 drsVmConfigSpec property.
*
*
* For example, to add a new item, do as follows:
*
* getDrsVmConfigSpec().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ClusterDrsVmConfigSpec }
*
*
*/
public List getDrsVmConfigSpec() {
if (drsVmConfigSpec == null) {
drsVmConfigSpec = new ArrayList();
}
return this.drsVmConfigSpec;
}
/**
* Gets the value of the rulesSpec 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 rulesSpec property.
*
*
* For example, to add a new item, do as follows:
*
* getRulesSpec().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ClusterRuleSpec }
*
*
*/
public List getRulesSpec() {
if (rulesSpec == null) {
rulesSpec = new ArrayList();
}
return this.rulesSpec;
}
}