com.vmware.vim25.VirtualDiskFlatVer2BackingOption 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 VirtualDiskFlatVer2BackingOption complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="VirtualDiskFlatVer2BackingOption">
* <complexContent>
* <extension base="{urn:vim25}VirtualDeviceFileBackingOption">
* <sequence>
* <element name="diskMode" type="{urn:vim25}ChoiceOption"/>
* <element name="split" type="{urn:vim25}BoolOption"/>
* <element name="writeThrough" type="{urn:vim25}BoolOption"/>
* <element name="growable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* <element name="hotGrowable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* <element name="uuid" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* <element name="thinProvisioned" type="{urn:vim25}BoolOption" minOccurs="0"/>
* <element name="eagerlyScrub" type="{urn:vim25}BoolOption" minOccurs="0"/>
* <element name="deltaDiskFormat" type="{urn:vim25}ChoiceOption" minOccurs="0"/>
* <element name="deltaDiskFormatsSupported" type="{urn:vim25}VirtualDiskDeltaDiskFormatsSupported" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "VirtualDiskFlatVer2BackingOption", propOrder = {
"diskMode",
"split",
"writeThrough",
"growable",
"hotGrowable",
"uuid",
"thinProvisioned",
"eagerlyScrub",
"deltaDiskFormat",
"deltaDiskFormatsSupported"
})
public class VirtualDiskFlatVer2BackingOption
extends VirtualDeviceFileBackingOption
{
@XmlElement(required = true)
protected ChoiceOption diskMode;
@XmlElement(required = true)
protected BoolOption split;
@XmlElement(required = true)
protected BoolOption writeThrough;
protected boolean growable;
protected boolean hotGrowable;
protected boolean uuid;
protected BoolOption thinProvisioned;
protected BoolOption eagerlyScrub;
protected ChoiceOption deltaDiskFormat;
protected List deltaDiskFormatsSupported;
/**
* Gets the value of the diskMode property.
*
* @return
* possible object is
* {@link ChoiceOption }
*
*/
public ChoiceOption getDiskMode() {
return diskMode;
}
/**
* Sets the value of the diskMode property.
*
* @param value
* allowed object is
* {@link ChoiceOption }
*
*/
public void setDiskMode(ChoiceOption value) {
this.diskMode = value;
}
/**
* Gets the value of the split property.
*
* @return
* possible object is
* {@link BoolOption }
*
*/
public BoolOption getSplit() {
return split;
}
/**
* Sets the value of the split property.
*
* @param value
* allowed object is
* {@link BoolOption }
*
*/
public void setSplit(BoolOption value) {
this.split = value;
}
/**
* Gets the value of the writeThrough property.
*
* @return
* possible object is
* {@link BoolOption }
*
*/
public BoolOption getWriteThrough() {
return writeThrough;
}
/**
* Sets the value of the writeThrough property.
*
* @param value
* allowed object is
* {@link BoolOption }
*
*/
public void setWriteThrough(BoolOption value) {
this.writeThrough = value;
}
/**
* Gets the value of the growable property.
*
*/
public boolean isGrowable() {
return growable;
}
/**
* Sets the value of the growable property.
*
*/
public void setGrowable(boolean value) {
this.growable = value;
}
/**
* Gets the value of the hotGrowable property.
*
*/
public boolean isHotGrowable() {
return hotGrowable;
}
/**
* Sets the value of the hotGrowable property.
*
*/
public void setHotGrowable(boolean value) {
this.hotGrowable = value;
}
/**
* Gets the value of the uuid property.
*
*/
public boolean isUuid() {
return uuid;
}
/**
* Sets the value of the uuid property.
*
*/
public void setUuid(boolean value) {
this.uuid = value;
}
/**
* Gets the value of the thinProvisioned property.
*
* @return
* possible object is
* {@link BoolOption }
*
*/
public BoolOption getThinProvisioned() {
return thinProvisioned;
}
/**
* Sets the value of the thinProvisioned property.
*
* @param value
* allowed object is
* {@link BoolOption }
*
*/
public void setThinProvisioned(BoolOption value) {
this.thinProvisioned = value;
}
/**
* Gets the value of the eagerlyScrub property.
*
* @return
* possible object is
* {@link BoolOption }
*
*/
public BoolOption getEagerlyScrub() {
return eagerlyScrub;
}
/**
* Sets the value of the eagerlyScrub property.
*
* @param value
* allowed object is
* {@link BoolOption }
*
*/
public void setEagerlyScrub(BoolOption value) {
this.eagerlyScrub = value;
}
/**
* Gets the value of the deltaDiskFormat property.
*
* @return
* possible object is
* {@link ChoiceOption }
*
*/
public ChoiceOption getDeltaDiskFormat() {
return deltaDiskFormat;
}
/**
* Sets the value of the deltaDiskFormat property.
*
* @param value
* allowed object is
* {@link ChoiceOption }
*
*/
public void setDeltaDiskFormat(ChoiceOption value) {
this.deltaDiskFormat = value;
}
/**
* Gets the value of the deltaDiskFormatsSupported 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 deltaDiskFormatsSupported property.
*
*
* For example, to add a new item, do as follows:
*
* getDeltaDiskFormatsSupported().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link VirtualDiskDeltaDiskFormatsSupported }
*
*
*/
public List getDeltaDiskFormatsSupported() {
if (deltaDiskFormatsSupported == null) {
deltaDiskFormatsSupported = new ArrayList();
}
return this.deltaDiskFormatsSupported;
}
}