public class VmInstance extends Object implements Serializable
Constructor and Description |
---|
VmInstance() |
VmInstance(VmConfig vmConfig,
Date start) |
Modifier and Type | Method and Description |
---|---|
double |
getCost()
Get the approximate usage cost of this VM
|
Date |
getEnd() |
Date |
getStart() |
VmConfig |
getVmConfig() |
boolean |
isRunning() |
void |
setEnd(Date end) |
void |
setStart(Date start) |
void |
setVmConfig(VmConfig vmConfig) |
String |
toString() |
public boolean isRunning()
public double getCost()
public VmConfig getVmConfig()
public void setVmConfig(VmConfig vmConfig)
vmConfig
- the vmConfig to setpublic Date getStart()
public void setStart(Date start)
start
- the start to setpublic Date getEnd()
public void setEnd(Date end)
end
- the end to setCopyright © 2016 iNetria. All rights reserved.