Package org.jclouds.elasticstack.domain
Class Server
- java.lang.Object
 - 
- org.jclouds.elasticstack.domain.Item
 - 
- org.jclouds.elasticstack.domain.Server
 
 
 
- 
- Direct Known Subclasses:
 ServerInfo
public class Server extends Item
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classServer.Builder 
- 
Field Summary
Fields Modifier and Type Field Description protected Set<String>bootDeviceIdsprotected intcpuprotected Map<String,? extends Device>devicesprotected intmemprotected List<NIC>nicsprotected booleanpersistentprotected Integersmpprotected VNCvnc- 
Fields inherited from class org.jclouds.elasticstack.domain.Item
name, tags, userMetadata, uuid 
 - 
 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Set<String>getBootDeviceIds()intgetCpu()Map<String,? extends Device>getDevices()intgetMem()List<NIC>getNics()IntegergetSmp()VNCgetVnc()inthashCode()booleanisPersistent()StringtoString()- 
Methods inherited from class org.jclouds.elasticstack.domain.Item
getName, getTags, getUserMetadata, getUuid 
 - 
 
 - 
 
- 
- 
Method Detail
- 
getCpu
public int getCpu()
- Returns:
 - CPU quota in core MHz.
 
 
- 
getSmp
public Integer getSmp()
- Returns:
 - number of virtual processors or null if calculated based on cpu.
 
 
- 
getMem
public int getMem()
- Returns:
 - virtual memory size in MB.
 
 
- 
isPersistent
public boolean isPersistent()
- Returns:
 - 'true' means that server will revert to a 'stopped' status on server stop or shutdown, rather than being destroyed automatically.
 
 
- 
getBootDeviceIds
public Set<String> getBootDeviceIds()
- Returns:
 - ids of the devices to boot, e.g. ide:0:0 or ide:1:0
 - See Also:
 Device.getId()
 
- 
getVnc
public VNC getVnc()
 
 - 
 
 -