public class Server extends Object implements Comparable<Server>
Modifier and Type | Class and Description |
---|---|
static class |
Server.Builder<T extends Server.Builder<T>> |
Modifier | Constructor and Description |
---|---|
protected |
Server(long id,
boolean isSandbox,
String name,
String description,
ServerState state,
Option datacenter,
Option type,
Option ram,
Option os,
Ip ip,
ServerImage image) |
Modifier and Type | Method and Description |
---|---|
static Server.Builder<?> |
builder() |
int |
compareTo(Server that) |
boolean |
equals(Object obj) |
Option |
getDatacenter() |
String |
getDescription() |
long |
getId() |
ServerImage |
getImage() |
Ip |
getIp() |
String |
getName() |
Option |
getOs() |
Option |
getRam() |
ServerState |
getState() |
Option |
getType() |
int |
hashCode() |
boolean |
isSandbox() |
protected com.google.common.base.Objects.ToStringHelper |
string() |
Server.Builder<?> |
toBuilder() |
String |
toString() |
@ConstructorProperties(value={"id","isSandbox","name","description","state","datacenter","type","ram","os","ip","image"}) protected Server(long id, boolean isSandbox, String name, @Nullable String description, ServerState state, @Nullable Option datacenter, Option type, Option ram, Option os, Ip ip, ServerImage image)
public static Server.Builder<?> builder()
public Server.Builder<?> toBuilder()
public long getId()
public boolean isSandbox()
public String getName()
public ServerState getState()
public Option getType()
public Option getRam()
public Option getOs()
public Ip getIp()
public ServerImage getImage()
protected com.google.common.base.Objects.ToStringHelper string()
public int compareTo(Server that)
compareTo
in interface Comparable<Server>
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.