public abstract static class ServerDetails.Builder<T extends ServerDetails.Builder<T>> extends Server.Builder<T>
Modifier and Type | Field and Description |
---|---|
protected Cost |
cost |
protected int |
cpuCores |
protected String |
description |
protected int |
diskSizeGB |
protected Set<Ip> |
ips |
protected int |
memorySizeMB |
protected Server.State |
state |
protected String |
templateName |
protected int |
transferGB |
datacenter, hostname, id, platform
Constructor and Description |
---|
ServerDetails.Builder() |
Modifier and Type | Method and Description |
---|---|
ServerDetails |
build() |
T |
cost(Cost cost) |
T |
cpuCores(int cpuCores) |
T |
description(String description) |
T |
diskSizeGB(int diskSizeGB) |
T |
fromServerDetails(ServerDetails in) |
T |
ips(Ip... in) |
T |
ips(Set<Ip> ips) |
T |
memorySizeMB(int memorySizeMB) |
T |
state(Server.State state) |
T |
templateName(String templateName) |
T |
transferGB(int transferGB) |
datacenter, fromServer, hostname, id, platform, self
protected Server.State state
protected String description
protected String templateName
protected int cpuCores
protected int memorySizeMB
protected int diskSizeGB
protected int transferGB
protected Cost cost
public T state(Server.State state)
ServerDetails.getState()
public T description(String description)
ServerDetails.getDescription()
public T templateName(String templateName)
ServerDetails.getTemplateName()
public T cpuCores(int cpuCores)
ServerDetails.getCpuCores()
public T memorySizeMB(int memorySizeMB)
ServerDetails.getMemorySizeMB()
public T diskSizeGB(int diskSizeGB)
ServerDetails.getDiskSizeGB()
public T transferGB(int transferGB)
ServerDetails.getTransferGB()
public T cost(Cost cost)
ServerDetails.getCost()
public T ips(Set<Ip> ips)
ServerDetails.getIps()
public ServerDetails build()
build
in class Server.Builder<T extends ServerDetails.Builder<T>>
public T fromServerDetails(ServerDetails in)
Copyright © 2009-2013 jclouds. All Rights Reserved.