![JAR search and dependency download from the Maven repository](/logo.png)
com.vmware.vim25.VmPodConfigForPlacement 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.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for VmPodConfigForPlacement complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="VmPodConfigForPlacement">
* <complexContent>
* <extension base="{urn:vim25}DynamicData">
* <sequence>
* <element name="storagePod" type="{urn:vim25}ManagedObjectReference"/>
* <element name="disk" type="{urn:vim25}PodDiskLocator" maxOccurs="unbounded" minOccurs="0"/>
* <element name="vmConfig" type="{urn:vim25}StorageDrsVmConfigInfo" minOccurs="0"/>
* <element name="interVmRule" type="{urn:vim25}ClusterRuleInfo" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "VmPodConfigForPlacement", propOrder = {
"storagePod",
"disk",
"vmConfig",
"interVmRule"
})
public class VmPodConfigForPlacement
extends DynamicData
{
@XmlElement(required = true)
protected ManagedObjectReference storagePod;
protected List disk;
protected StorageDrsVmConfigInfo vmConfig;
protected List interVmRule;
/**
* Gets the value of the storagePod property.
*
* @return
* possible object is
* {@link ManagedObjectReference }
*
*/
public ManagedObjectReference getStoragePod() {
return storagePod;
}
/**
* Sets the value of the storagePod property.
*
* @param value
* allowed object is
* {@link ManagedObjectReference }
*
*/
public void setStoragePod(ManagedObjectReference value) {
this.storagePod = value;
}
/**
* Gets the value of the disk 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 disk property.
*
*
* For example, to add a new item, do as follows:
*
* getDisk().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PodDiskLocator }
*
*
*/
public List getDisk() {
if (disk == null) {
disk = new ArrayList();
}
return this.disk;
}
/**
* Gets the value of the vmConfig property.
*
* @return
* possible object is
* {@link StorageDrsVmConfigInfo }
*
*/
public StorageDrsVmConfigInfo getVmConfig() {
return vmConfig;
}
/**
* Sets the value of the vmConfig property.
*
* @param value
* allowed object is
* {@link StorageDrsVmConfigInfo }
*
*/
public void setVmConfig(StorageDrsVmConfigInfo value) {
this.vmConfig = value;
}
/**
* Gets the value of the interVmRule 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 interVmRule property.
*
*
* For example, to add a new item, do as follows:
*
* getInterVmRule().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ClusterRuleInfo }
*
*
*/
public List getInterVmRule() {
if (interVmRule == null) {
interVmRule = new ArrayList();
}
return this.interVmRule;
}
}