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

com.vmware.vim25.HostVmfsVolume 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.XmlType;


/**
 * 

Java class for HostVmfsVolume complex type. * *

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

 * <complexType name="HostVmfsVolume">
 *   <complexContent>
 *     <extension base="{urn:vim25}HostFileSystemVolume">
 *       <sequence>
 *         <element name="blockSizeMb" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         <element name="blockSize" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
 *         <element name="unmapGranularity" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
 *         <element name="unmapPriority" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="maxBlocks" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         <element name="majorVersion" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         <element name="version" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="uuid" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="extent" type="{urn:vim25}HostScsiDiskPartition" maxOccurs="unbounded"/>
 *         <element name="vmfsUpgradable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
 *         <element name="forceMountedInfo" type="{urn:vim25}HostForceMountedInfo" minOccurs="0"/>
 *         <element name="ssd" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="local" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="scsiDiskType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "HostVmfsVolume", propOrder = { "blockSizeMb", "blockSize", "unmapGranularity", "unmapPriority", "maxBlocks", "majorVersion", "version", "uuid", "extent", "vmfsUpgradable", "forceMountedInfo", "ssd", "local", "scsiDiskType" }) public class HostVmfsVolume extends HostFileSystemVolume { protected int blockSizeMb; protected Integer blockSize; protected Integer unmapGranularity; protected String unmapPriority; protected int maxBlocks; protected int majorVersion; @XmlElement(required = true) protected String version; @XmlElement(required = true) protected String uuid; @XmlElement(required = true) protected List extent; protected boolean vmfsUpgradable; protected HostForceMountedInfo forceMountedInfo; protected Boolean ssd; protected Boolean local; protected String scsiDiskType; /** * Gets the value of the blockSizeMb property. * */ public int getBlockSizeMb() { return blockSizeMb; } /** * Sets the value of the blockSizeMb property. * */ public void setBlockSizeMb(int value) { this.blockSizeMb = value; } /** * Gets the value of the blockSize property. * * @return * possible object is * {@link Integer } * */ public Integer getBlockSize() { return blockSize; } /** * Sets the value of the blockSize property. * * @param value * allowed object is * {@link Integer } * */ public void setBlockSize(Integer value) { this.blockSize = value; } /** * Gets the value of the unmapGranularity property. * * @return * possible object is * {@link Integer } * */ public Integer getUnmapGranularity() { return unmapGranularity; } /** * Sets the value of the unmapGranularity property. * * @param value * allowed object is * {@link Integer } * */ public void setUnmapGranularity(Integer value) { this.unmapGranularity = value; } /** * Gets the value of the unmapPriority property. * * @return * possible object is * {@link String } * */ public String getUnmapPriority() { return unmapPriority; } /** * Sets the value of the unmapPriority property. * * @param value * allowed object is * {@link String } * */ public void setUnmapPriority(String value) { this.unmapPriority = value; } /** * Gets the value of the maxBlocks property. * */ public int getMaxBlocks() { return maxBlocks; } /** * Sets the value of the maxBlocks property. * */ public void setMaxBlocks(int value) { this.maxBlocks = value; } /** * Gets the value of the majorVersion property. * */ public int getMajorVersion() { return majorVersion; } /** * Sets the value of the majorVersion property. * */ public void setMajorVersion(int value) { this.majorVersion = value; } /** * Gets the value of the version property. * * @return * possible object is * {@link String } * */ public String getVersion() { return version; } /** * Sets the value of the version property. * * @param value * allowed object is * {@link String } * */ public void setVersion(String value) { this.version = value; } /** * Gets the value of the uuid property. * * @return * possible object is * {@link String } * */ public String getUuid() { return uuid; } /** * Sets the value of the uuid property. * * @param value * allowed object is * {@link String } * */ public void setUuid(String value) { this.uuid = value; } /** * Gets the value of the extent 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 extent property. * *

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

     *    getExtent().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link HostScsiDiskPartition } * * */ public List getExtent() { if (extent == null) { extent = new ArrayList(); } return this.extent; } /** * Gets the value of the vmfsUpgradable property. * */ public boolean isVmfsUpgradable() { return vmfsUpgradable; } /** * Sets the value of the vmfsUpgradable property. * */ public void setVmfsUpgradable(boolean value) { this.vmfsUpgradable = value; } /** * Gets the value of the forceMountedInfo property. * * @return * possible object is * {@link HostForceMountedInfo } * */ public HostForceMountedInfo getForceMountedInfo() { return forceMountedInfo; } /** * Sets the value of the forceMountedInfo property. * * @param value * allowed object is * {@link HostForceMountedInfo } * */ public void setForceMountedInfo(HostForceMountedInfo value) { this.forceMountedInfo = value; } /** * Gets the value of the ssd property. * * @return * possible object is * {@link Boolean } * */ public Boolean isSsd() { return ssd; } /** * Sets the value of the ssd property. * * @param value * allowed object is * {@link Boolean } * */ public void setSsd(Boolean value) { this.ssd = value; } /** * Gets the value of the local property. * * @return * possible object is * {@link Boolean } * */ public Boolean isLocal() { return local; } /** * Sets the value of the local property. * * @param value * allowed object is * {@link Boolean } * */ public void setLocal(Boolean value) { this.local = value; } /** * Gets the value of the scsiDiskType property. * * @return * possible object is * {@link String } * */ public String getScsiDiskType() { return scsiDiskType; } /** * Sets the value of the scsiDiskType property. * * @param value * allowed object is * {@link String } * */ public void setScsiDiskType(String value) { this.scsiDiskType = value; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy