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

com.vmware.vim25.ResourceConfigSpec Maven / Gradle / Ivy

There is a newer version: 0.6.60
Show newest version

package com.vmware.vim25;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;


/**
 * 

Java class for ResourceConfigSpec complex type. * *

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

 * <complexType name="ResourceConfigSpec">
 *   <complexContent>
 *     <extension base="{urn:vim25}DynamicData">
 *       <sequence>
 *         <element name="entity" type="{urn:vim25}ManagedObjectReference" minOccurs="0"/>
 *         <element name="changeVersion" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="lastModified" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
 *         <element name="cpuAllocation" type="{urn:vim25}ResourceAllocationInfo"/>
 *         <element name="memoryAllocation" type="{urn:vim25}ResourceAllocationInfo"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "ResourceConfigSpec", propOrder = { "entity", "changeVersion", "lastModified", "cpuAllocation", "memoryAllocation" }) public class ResourceConfigSpec extends DynamicData { protected ManagedObjectReference entity; protected String changeVersion; @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar lastModified; @XmlElement(required = true) protected ResourceAllocationInfo cpuAllocation; @XmlElement(required = true) protected ResourceAllocationInfo memoryAllocation; /** * Gets the value of the entity property. * * @return * possible object is * {@link ManagedObjectReference } * */ public ManagedObjectReference getEntity() { return entity; } /** * Sets the value of the entity property. * * @param value * allowed object is * {@link ManagedObjectReference } * */ public void setEntity(ManagedObjectReference value) { this.entity = value; } /** * Gets the value of the changeVersion property. * * @return * possible object is * {@link String } * */ public String getChangeVersion() { return changeVersion; } /** * Sets the value of the changeVersion property. * * @param value * allowed object is * {@link String } * */ public void setChangeVersion(String value) { this.changeVersion = value; } /** * Gets the value of the lastModified property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getLastModified() { return lastModified; } /** * Sets the value of the lastModified property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setLastModified(XMLGregorianCalendar value) { this.lastModified = value; } /** * Gets the value of the cpuAllocation property. * * @return * possible object is * {@link ResourceAllocationInfo } * */ public ResourceAllocationInfo getCpuAllocation() { return cpuAllocation; } /** * Sets the value of the cpuAllocation property. * * @param value * allowed object is * {@link ResourceAllocationInfo } * */ public void setCpuAllocation(ResourceAllocationInfo value) { this.cpuAllocation = value; } /** * Gets the value of the memoryAllocation property. * * @return * possible object is * {@link ResourceAllocationInfo } * */ public ResourceAllocationInfo getMemoryAllocation() { return memoryAllocation; } /** * Sets the value of the memoryAllocation property. * * @param value * allowed object is * {@link ResourceAllocationInfo } * */ public void setMemoryAllocation(ResourceAllocationInfo value) { this.memoryAllocation = value; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy