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>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
ips
protected Set<Ip> ips
ServerDetails.Builder
public ServerDetails.Builder()
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()
ips
public T ips(Ip... in)
build
public ServerDetails build()
- Overrides:
build in class Server.Builder<T extends ServerDetails.Builder<T>>
fromServerDetails
public T fromServerDetails(ServerDetails in)
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.