com.vmware.vim25.VmfsConfigOption 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 VmfsConfigOption complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="VmfsConfigOption">
* <complexContent>
* <extension base="{urn:vim25}DynamicData">
* <sequence>
* <element name="blockSizeOption" type="{http://www.w3.org/2001/XMLSchema}int"/>
* <element name="unmapGranularityOption" type="{http://www.w3.org/2001/XMLSchema}int" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "VmfsConfigOption", propOrder = {
"blockSizeOption",
"unmapGranularityOption"
})
public class VmfsConfigOption
extends DynamicData
{
protected int blockSizeOption;
@XmlElement(type = Integer.class)
protected List unmapGranularityOption;
/**
* Gets the value of the blockSizeOption property.
*
*/
public int getBlockSizeOption() {
return blockSizeOption;
}
/**
* Sets the value of the blockSizeOption property.
*
*/
public void setBlockSizeOption(int value) {
this.blockSizeOption = value;
}
/**
* Gets the value of the unmapGranularityOption 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 unmapGranularityOption property.
*
*
* For example, to add a new item, do as follows:
*
* getUnmapGranularityOption().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Integer }
*
*
*/
public List getUnmapGranularityOption() {
if (unmapGranularityOption == null) {
unmapGranularityOption = new ArrayList();
}
return this.unmapGranularityOption;
}
}