![JAR search and dependency download from the Maven repository](/logo.png)
com.vmware.vim25.VirtualControllerOption 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.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for VirtualControllerOption complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="VirtualControllerOption">
* <complexContent>
* <extension base="{urn:vim25}VirtualDeviceOption">
* <sequence>
* <element name="devices" type="{urn:vim25}IntOption"/>
* <element name="supportedDevice" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "VirtualControllerOption", propOrder = {
"devices",
"supportedDevice"
})
@XmlSeeAlso({
VirtualIDEControllerOption.class,
VirtualNVMEControllerOption.class,
VirtualPCIControllerOption.class,
VirtualPS2ControllerOption.class,
VirtualSATAControllerOption.class,
VirtualSCSIControllerOption.class,
VirtualSIOControllerOption.class,
VirtualUSBControllerOption.class,
VirtualUSBXHCIControllerOption.class
})
public class VirtualControllerOption
extends VirtualDeviceOption
{
@XmlElement(required = true)
protected IntOption devices;
protected List supportedDevice;
/**
* Gets the value of the devices property.
*
* @return
* possible object is
* {@link IntOption }
*
*/
public IntOption getDevices() {
return devices;
}
/**
* Sets the value of the devices property.
*
* @param value
* allowed object is
* {@link IntOption }
*
*/
public void setDevices(IntOption value) {
this.devices = value;
}
/**
* Gets the value of the supportedDevice 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 supportedDevice property.
*
*
* For example, to add a new item, do as follows:
*
* getSupportedDevice().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getSupportedDevice() {
if (supportedDevice == null) {
supportedDevice = new ArrayList();
}
return this.supportedDevice;
}
}