public class Server extends Item
Modifier and Type | Class and Description |
---|---|
static class |
Server.Builder |
Modifier and Type | Field and Description |
---|---|
protected Set<String> |
bootDeviceIds |
protected int |
cpu |
protected Map<String,Device> |
devices |
protected int |
mem |
protected List<NIC> |
nics |
protected boolean |
persistent |
protected Integer |
smp |
protected VNC |
vnc |
name, tags, userMetadata, uuid
Constructor and Description |
---|
Server(String uuid,
String name,
int cpu,
Integer smp,
int mem,
boolean persistent,
Map<String,? extends Device> devices,
Iterable<String> bootDeviceIds,
Iterable<String> tags,
Map<String,String> userMetadata,
Iterable<NIC> nics,
VNC vnc) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Set<String> |
getBootDeviceIds() |
int |
getCpu() |
Map<String,Device> |
getDevices() |
int |
getMem() |
List<NIC> |
getNics() |
Integer |
getSmp() |
VNC |
getVnc() |
int |
hashCode() |
boolean |
isPersistent() |
String |
toString() |
getName, getTags, getUserMetadata, getUuid
protected final int cpu
protected final Integer smp
protected final int mem
protected final boolean persistent
protected final VNC vnc
public int getCpu()
public Integer getSmp()
public int getMem()
public boolean isPersistent()
public Set<String> getBootDeviceIds()
Device.getId()
public VNC getVnc()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.