![JAR search and dependency download from the Maven repository](/logo.png)
com.vmware.vim25.HostVvolVolumeSpecification 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 HostVvolVolumeSpecification complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="HostVvolVolumeSpecification">
* <complexContent>
* <extension base="{urn:vim25}DynamicData">
* <sequence>
* <element name="maxSizeInMB" type="{http://www.w3.org/2001/XMLSchema}long"/>
* <element name="volumeName" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="vasaProviderInfo" type="{urn:vim25}VimVasaProviderInfo" maxOccurs="unbounded" minOccurs="0"/>
* <element name="storageArray" type="{urn:vim25}VASAStorageArray" maxOccurs="unbounded" minOccurs="0"/>
* <element name="uuid" type="{http://www.w3.org/2001/XMLSchema}string"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "HostVvolVolumeSpecification", propOrder = {
"maxSizeInMB",
"volumeName",
"vasaProviderInfo",
"storageArray",
"uuid"
})
public class HostVvolVolumeSpecification
extends DynamicData
{
protected long maxSizeInMB;
@XmlElement(required = true)
protected String volumeName;
protected List vasaProviderInfo;
protected List storageArray;
@XmlElement(required = true)
protected String uuid;
/**
* Gets the value of the maxSizeInMB property.
*
*/
public long getMaxSizeInMB() {
return maxSizeInMB;
}
/**
* Sets the value of the maxSizeInMB property.
*
*/
public void setMaxSizeInMB(long value) {
this.maxSizeInMB = value;
}
/**
* Gets the value of the volumeName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getVolumeName() {
return volumeName;
}
/**
* Sets the value of the volumeName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setVolumeName(String value) {
this.volumeName = value;
}
/**
* Gets the value of the vasaProviderInfo 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 vasaProviderInfo property.
*
*
* For example, to add a new item, do as follows:
*
* getVasaProviderInfo().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link VimVasaProviderInfo }
*
*
*/
public List getVasaProviderInfo() {
if (vasaProviderInfo == null) {
vasaProviderInfo = new ArrayList();
}
return this.vasaProviderInfo;
}
/**
* Gets the value of the storageArray 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 storageArray property.
*
*
* For example, to add a new item, do as follows:
*
* getStorageArray().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link VASAStorageArray }
*
*
*/
public List getStorageArray() {
if (storageArray == null) {
storageArray = new ArrayList();
}
return this.storageArray;
}
/**
* 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;
}
}