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

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


/**
 * 

Java class for VirtualDisk complex type. * *

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

 * <complexType name="VirtualDisk">
 *   <complexContent>
 *     <extension base="{urn:vim25}VirtualDevice">
 *       <sequence>
 *         <element name="capacityInKB" type="{http://www.w3.org/2001/XMLSchema}long"/>
 *         <element name="capacityInBytes" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
 *         <element name="shares" type="{urn:vim25}SharesInfo" minOccurs="0"/>
 *         <element name="storageIOAllocation" type="{urn:vim25}StorageIOAllocationInfo" minOccurs="0"/>
 *         <element name="diskObjectId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="vFlashCacheConfigInfo" type="{urn:vim25}VirtualDiskVFlashCacheConfigInfo" minOccurs="0"/>
 *         <element name="iofilter" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="vDiskId" type="{urn:vim25}ID" minOccurs="0"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "VirtualDisk", propOrder = { "capacityInKB", "capacityInBytes", "shares", "storageIOAllocation", "diskObjectId", "vFlashCacheConfigInfo", "iofilter", "vDiskId" }) public class VirtualDisk extends VirtualDevice { protected long capacityInKB; protected Long capacityInBytes; protected SharesInfo shares; protected StorageIOAllocationInfo storageIOAllocation; protected String diskObjectId; protected VirtualDiskVFlashCacheConfigInfo vFlashCacheConfigInfo; protected List iofilter; protected ID vDiskId; /** * Gets the value of the capacityInKB property. * */ public long getCapacityInKB() { return capacityInKB; } /** * Sets the value of the capacityInKB property. * */ public void setCapacityInKB(long value) { this.capacityInKB = value; } /** * Gets the value of the capacityInBytes property. * * @return * possible object is * {@link Long } * */ public Long getCapacityInBytes() { return capacityInBytes; } /** * Sets the value of the capacityInBytes property. * * @param value * allowed object is * {@link Long } * */ public void setCapacityInBytes(Long value) { this.capacityInBytes = value; } /** * Gets the value of the shares property. * * @return * possible object is * {@link SharesInfo } * */ public SharesInfo getShares() { return shares; } /** * Sets the value of the shares property. * * @param value * allowed object is * {@link SharesInfo } * */ public void setShares(SharesInfo value) { this.shares = value; } /** * Gets the value of the storageIOAllocation property. * * @return * possible object is * {@link StorageIOAllocationInfo } * */ public StorageIOAllocationInfo getStorageIOAllocation() { return storageIOAllocation; } /** * Sets the value of the storageIOAllocation property. * * @param value * allowed object is * {@link StorageIOAllocationInfo } * */ public void setStorageIOAllocation(StorageIOAllocationInfo value) { this.storageIOAllocation = value; } /** * Gets the value of the diskObjectId property. * * @return * possible object is * {@link String } * */ public String getDiskObjectId() { return diskObjectId; } /** * Sets the value of the diskObjectId property. * * @param value * allowed object is * {@link String } * */ public void setDiskObjectId(String value) { this.diskObjectId = value; } /** * Gets the value of the vFlashCacheConfigInfo property. * * @return * possible object is * {@link VirtualDiskVFlashCacheConfigInfo } * */ public VirtualDiskVFlashCacheConfigInfo getVFlashCacheConfigInfo() { return vFlashCacheConfigInfo; } /** * Sets the value of the vFlashCacheConfigInfo property. * * @param value * allowed object is * {@link VirtualDiskVFlashCacheConfigInfo } * */ public void setVFlashCacheConfigInfo(VirtualDiskVFlashCacheConfigInfo value) { this.vFlashCacheConfigInfo = value; } /** * Gets the value of the iofilter 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 iofilter property. * *

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

     *    getIofilter().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link String } * * */ public List getIofilter() { if (iofilter == null) { iofilter = new ArrayList(); } return this.iofilter; } /** * Gets the value of the vDiskId property. * * @return * possible object is * {@link ID } * */ public ID getVDiskId() { return vDiskId; } /** * Sets the value of the vDiskId property. * * @param value * allowed object is * {@link ID } * */ public void setVDiskId(ID value) { this.vDiskId = value; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy