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

com.vmware.vim25.VirtualSCSIControllerOption 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.XmlSchemaType;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;


/**
 * 

Java class for VirtualSCSIControllerOption complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="VirtualSCSIControllerOption">
 *   <complexContent>
 *     <extension base="{urn:vim25}VirtualControllerOption">
 *       <sequence>
 *         <element name="numSCSIDisks" type="{urn:vim25}IntOption"/>
 *         <element name="numSCSICdroms" type="{urn:vim25}IntOption"/>
 *         <element name="numSCSIPassthrough" type="{urn:vim25}IntOption"/>
 *         <element name="sharing" type="{urn:vim25}VirtualSCSISharing" maxOccurs="unbounded"/>
 *         <element name="defaultSharedIndex" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         <element name="hotAddRemove" type="{urn:vim25}BoolOption"/>
 *         <element name="scsiCtlrUnitNumber" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "VirtualSCSIControllerOption", propOrder = { "numSCSIDisks", "numSCSICdroms", "numSCSIPassthrough", "sharing", "defaultSharedIndex", "hotAddRemove", "scsiCtlrUnitNumber" }) @XmlSeeAlso({ ParaVirtualSCSIControllerOption.class, VirtualBusLogicControllerOption.class, VirtualLsiLogicControllerOption.class, VirtualLsiLogicSASControllerOption.class }) public class VirtualSCSIControllerOption extends VirtualControllerOption { @XmlElement(required = true) protected IntOption numSCSIDisks; @XmlElement(required = true) protected IntOption numSCSICdroms; @XmlElement(required = true) protected IntOption numSCSIPassthrough; @XmlElement(required = true) @XmlSchemaType(name = "string") protected List sharing; protected int defaultSharedIndex; @XmlElement(required = true) protected BoolOption hotAddRemove; protected int scsiCtlrUnitNumber; /** * Gets the value of the numSCSIDisks property. * * @return * possible object is * {@link IntOption } * */ public IntOption getNumSCSIDisks() { return numSCSIDisks; } /** * Sets the value of the numSCSIDisks property. * * @param value * allowed object is * {@link IntOption } * */ public void setNumSCSIDisks(IntOption value) { this.numSCSIDisks = value; } /** * Gets the value of the numSCSICdroms property. * * @return * possible object is * {@link IntOption } * */ public IntOption getNumSCSICdroms() { return numSCSICdroms; } /** * Sets the value of the numSCSICdroms property. * * @param value * allowed object is * {@link IntOption } * */ public void setNumSCSICdroms(IntOption value) { this.numSCSICdroms = value; } /** * Gets the value of the numSCSIPassthrough property. * * @return * possible object is * {@link IntOption } * */ public IntOption getNumSCSIPassthrough() { return numSCSIPassthrough; } /** * Sets the value of the numSCSIPassthrough property. * * @param value * allowed object is * {@link IntOption } * */ public void setNumSCSIPassthrough(IntOption value) { this.numSCSIPassthrough = value; } /** * Gets the value of the sharing 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 sharing property. * *

* For example, to add a new item, do as follows: *

     *    getSharing().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link VirtualSCSISharing } * * */ public List getSharing() { if (sharing == null) { sharing = new ArrayList(); } return this.sharing; } /** * Gets the value of the defaultSharedIndex property. * */ public int getDefaultSharedIndex() { return defaultSharedIndex; } /** * Sets the value of the defaultSharedIndex property. * */ public void setDefaultSharedIndex(int value) { this.defaultSharedIndex = value; } /** * Gets the value of the hotAddRemove property. * * @return * possible object is * {@link BoolOption } * */ public BoolOption getHotAddRemove() { return hotAddRemove; } /** * Sets the value of the hotAddRemove property. * * @param value * allowed object is * {@link BoolOption } * */ public void setHotAddRemove(BoolOption value) { this.hotAddRemove = value; } /** * Gets the value of the scsiCtlrUnitNumber property. * */ public int getScsiCtlrUnitNumber() { return scsiCtlrUnitNumber; } /** * Sets the value of the scsiCtlrUnitNumber property. * */ public void setScsiCtlrUnitNumber(int value) { this.scsiCtlrUnitNumber = value; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy