public class ComputeResource
extends java.lang.Object
Constructor and Description |
---|
ComputeResource() |
ComputeResource(JobAPI.ComputeResource computeResource) |
Modifier and Type | Method and Description |
---|---|
double |
getCpu() |
double |
getDisk() |
int |
getIndex() |
int |
getInstances() |
int |
getRam() |
boolean |
getScalable() |
void |
setCpu(double cpu) |
void |
setDisk(double disk) |
void |
setIndex(int index) |
void |
setInstances(int instances) |
void |
setRam(int ram) |
void |
setScalable(boolean scalable) |
public ComputeResource()
public ComputeResource(JobAPI.ComputeResource computeResource)
public double getCpu()
public int getRam()
public double getDisk()
public int getIndex()
public int getInstances()
public boolean getScalable()
public void setCpu(double cpu)
public void setRam(int ram)
public void setDisk(double disk)
public void setIndex(int index)
public void setInstances(int instances)
public void setScalable(boolean scalable)