Package org.jclouds.glesys.domain
Class ServerDetails.Builder<T extends ServerDetails.Builder<T>>
- java.lang.Object
 - 
- org.jclouds.glesys.domain.Server.Builder<T>
 - 
- org.jclouds.glesys.domain.ServerDetails.Builder<T>
 
 
 
- 
- Enclosing class:
 - ServerDetails
 
public abstract static class ServerDetails.Builder<T extends ServerDetails.Builder<T>> extends Server.Builder<T>
 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected Costcostprotected intcpuCoresprotected Stringdescriptionprotected intdiskSizeGBprotected Set<Ip>ipsprotected intmemorySizeMBprotected Server.Statestateprotected StringtemplateNameprotected inttransferGB- 
Fields inherited from class org.jclouds.glesys.domain.Server.Builder
datacenter, hostname, id, platform 
 - 
 
- 
Constructor Summary
Constructors Constructor Description Builder() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServerDetailsbuild()Tcost(Cost cost)TcpuCores(int cpuCores)Tdescription(String description)TdiskSizeGB(int diskSizeGB)TfromServerDetails(ServerDetails in)Tips(Set<Ip> ips)Tips(Ip... in)TmemorySizeMB(int memorySizeMB)Tstate(Server.State state)TtemplateName(String templateName)TtransferGB(int transferGB)- 
Methods inherited from class org.jclouds.glesys.domain.Server.Builder
datacenter, fromServer, hostname, id, platform, self 
 - 
 
 - 
 
- 
- 
Field Detail
- 
state
protected Server.State state
 
- 
description
protected String description
 
- 
templateName
protected String templateName
 
- 
cpuCores
protected int cpuCores
 
- 
memorySizeMB
protected int memorySizeMB
 
- 
diskSizeGB
protected int diskSizeGB
 
- 
transferGB
protected int transferGB
 
- 
cost
protected Cost cost
 
 - 
 
- 
Method Detail
- 
state
public T state(Server.State state)
- See Also:
 ServerDetails.getState()
 
- 
description
public T description(String description)
- See Also:
 ServerDetails.getDescription()
 
- 
templateName
public T templateName(String templateName)
- See Also:
 ServerDetails.getTemplateName()
 
- 
cpuCores
public T cpuCores(int cpuCores)
- See Also:
 ServerDetails.getCpuCores()
 
- 
memorySizeMB
public T memorySizeMB(int memorySizeMB)
- See Also:
 ServerDetails.getMemorySizeMB()
 
- 
diskSizeGB
public T diskSizeGB(int diskSizeGB)
- See Also:
 ServerDetails.getDiskSizeGB()
 
- 
transferGB
public T transferGB(int transferGB)
- See Also:
 ServerDetails.getTransferGB()
 
- 
cost
public T cost(Cost cost)
- See Also:
 ServerDetails.getCost()
 
- 
ips
public T ips(Set<Ip> ips)
- See Also:
 ServerDetails.getIps()
 
- 
build
public ServerDetails build()
- Overrides:
 buildin classServer.Builder<T extends ServerDetails.Builder<T>>
 
- 
fromServerDetails
public T fromServerDetails(ServerDetails in)
 
 - 
 
 -