org.jclouds.glesys.domain
Class ServerSpec.Builder<T extends ServerSpec.Builder<T>>
java.lang.Object
org.jclouds.glesys.domain.ServerSpec.Builder<T>
- Enclosing class:
- ServerSpec
public abstract static class ServerSpec.Builder<T extends ServerSpec.Builder<T>>
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
platform
protected String platform
datacenter
protected String datacenter
memorySizeMB
protected int memorySizeMB
diskSizeGB
protected int diskSizeGB
templateName
protected String templateName
cpuCores
protected int cpuCores
transferGB
protected int transferGB
ServerSpec.Builder
public ServerSpec.Builder()
self
protected abstract T self()
platform
public T platform(String platform)
- See Also:
ServerSpec.getPlatform()
datacenter
public T datacenter(String datacenter)
- See Also:
ServerSpec.getDatacenter()
memorySizeMB
public T memorySizeMB(int memorySizeMB)
- See Also:
ServerSpec.getMemorySizeMB()
diskSizeGB
public T diskSizeGB(int diskSizeGB)
- See Also:
ServerSpec.getDiskSizeGB()
templateName
public T templateName(String templateName)
- See Also:
ServerSpec.getTemplateName()
cpuCores
public T cpuCores(int cpuCores)
- See Also:
ServerSpec.getCpuCores()
transferGB
public T transferGB(int transferGB)
- See Also:
ServerSpec.getTransferGB()
build
public ServerSpec build()
fromServerSpec
public T fromServerSpec(ServerSpec in)
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.