com.vmware.vim25.ClusterFixedSizeSlotPolicy Maven / Gradle / Ivy
package com.vmware.vim25;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for ClusterFixedSizeSlotPolicy complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="ClusterFixedSizeSlotPolicy">
* <complexContent>
* <extension base="{urn:vim25}ClusterSlotPolicy">
* <sequence>
* <element name="cpu" type="{http://www.w3.org/2001/XMLSchema}int"/>
* <element name="memory" type="{http://www.w3.org/2001/XMLSchema}int"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ClusterFixedSizeSlotPolicy", propOrder = {
"cpu",
"memory"
})
public class ClusterFixedSizeSlotPolicy
extends ClusterSlotPolicy
{
protected int cpu;
protected int memory;
/**
* Gets the value of the cpu property.
*
*/
public int getCpu() {
return cpu;
}
/**
* Sets the value of the cpu property.
*
*/
public void setCpu(int value) {
this.cpu = value;
}
/**
* Gets the value of the memory property.
*
*/
public int getMemory() {
return memory;
}
/**
* Sets the value of the memory property.
*
*/
public void setMemory(int value) {
this.memory = value;
}
}