![JAR search and dependency download from the Maven repository](/logo.png)
com.vmware.vim25.VStorageObjectConfigInfo 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.XmlType;
/**
* Java class for VStorageObjectConfigInfo complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="VStorageObjectConfigInfo">
* <complexContent>
* <extension base="{urn:vim25}BaseConfigInfo">
* <sequence>
* <element name="capacityInMB" type="{http://www.w3.org/2001/XMLSchema}long"/>
* <element name="consumptionType" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* <element name="consumerId" type="{urn:vim25}ID" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "VStorageObjectConfigInfo", propOrder = {
"capacityInMB",
"consumptionType",
"consumerId"
})
public class VStorageObjectConfigInfo
extends BaseConfigInfo
{
protected long capacityInMB;
protected List consumptionType;
protected List consumerId;
/**
* Gets the value of the capacityInMB property.
*
*/
public long getCapacityInMB() {
return capacityInMB;
}
/**
* Sets the value of the capacityInMB property.
*
*/
public void setCapacityInMB(long value) {
this.capacityInMB = value;
}
/**
* Gets the value of the consumptionType 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 consumptionType property.
*
*
* For example, to add a new item, do as follows:
*
* getConsumptionType().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getConsumptionType() {
if (consumptionType == null) {
consumptionType = new ArrayList();
}
return this.consumptionType;
}
/**
* Gets the value of the consumerId 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 consumerId property.
*
*
* For example, to add a new item, do as follows:
*
* getConsumerId().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ID }
*
*
*/
public List getConsumerId() {
if (consumerId == null) {
consumerId = new ArrayList();
}
return this.consumerId;
}
}