![JAR search and dependency download from the Maven repository](/logo.png)
com.vmware.vim25.VsanHostDiskMapping 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 VsanHostDiskMapping complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="VsanHostDiskMapping">
* <complexContent>
* <extension base="{urn:vim25}DynamicData">
* <sequence>
* <element name="ssd" type="{urn:vim25}HostScsiDisk"/>
* <element name="nonSsd" type="{urn:vim25}HostScsiDisk" maxOccurs="unbounded"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "VsanHostDiskMapping", propOrder = {
"ssd",
"nonSsd"
})
public class VsanHostDiskMapping
extends DynamicData
{
@XmlElement(required = true)
protected HostScsiDisk ssd;
@XmlElement(required = true)
protected List nonSsd;
/**
* Gets the value of the ssd property.
*
* @return
* possible object is
* {@link HostScsiDisk }
*
*/
public HostScsiDisk getSsd() {
return ssd;
}
/**
* Sets the value of the ssd property.
*
* @param value
* allowed object is
* {@link HostScsiDisk }
*
*/
public void setSsd(HostScsiDisk value) {
this.ssd = value;
}
/**
* Gets the value of the nonSsd 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 nonSsd property.
*
*
* For example, to add a new item, do as follows:
*
* getNonSsd().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link HostScsiDisk }
*
*
*/
public List getNonSsd() {
if (nonSsd == null) {
nonSsd = new ArrayList();
}
return this.nonSsd;
}
}