public class ServerDetails extends Server
Modifier and Type | Class and Description |
---|---|
static class |
ServerDetails.Builder<T extends ServerDetails.Builder<T>> |
Server.State
Modifier | Constructor and Description |
---|---|
protected |
ServerDetails(String id,
String hostname,
String datacenter,
String platform,
Server.State state,
String description,
String templateName,
int cpuCores,
int memorySizeMB,
int diskSizeGB,
int transferGB,
Cost cost,
Set<Ip> ips) |
Modifier and Type | Method and Description |
---|---|
static ServerDetails.Builder<?> |
builder() |
Cost |
getCost() |
int |
getCpuCores() |
String |
getDescription() |
int |
getDiskSizeGB() |
Set<Ip> |
getIps() |
int |
getMemorySizeMB() |
Server.State |
getState() |
String |
getTemplateName() |
int |
getTransferGB() |
protected com.google.common.base.Objects.ToStringHelper |
string() |
ServerDetails.Builder<?> |
toBuilder() |
equals, getDatacenter, getHostname, getId, getPlatform, hashCode, toString
@ConstructorProperties(value={"serverid","hostname","datacenter","platform","state","description","templatename","cpucores","memorysize","disksize","transfer","cost","iplist"}) protected ServerDetails(String id, String hostname, String datacenter, String platform, @Nullable Server.State state, @Nullable String description, String templateName, int cpuCores, int memorySizeMB, int diskSizeGB, int transferGB, Cost cost, @Nullable Set<Ip> ips)
public static ServerDetails.Builder<?> builder()
public ServerDetails.Builder<?> toBuilder()
public Server.State getState()
public String getDescription()
public String getTemplateName()
public int getCpuCores()
public int getMemorySizeMB()
public int getDiskSizeGB()
public int getTransferGB()
public Cost getCost()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.