public abstract static class ServerSpec.Builder<T extends ServerSpec.Builder<T>> extends Object
| Modifier and Type | Field and Description | 
|---|---|
protected int | 
cpuCores  | 
protected String | 
datacenter  | 
protected int | 
diskSizeGB  | 
protected int | 
memorySizeMB  | 
protected String | 
platform  | 
protected String | 
templateName  | 
protected int | 
transferGB  | 
| Constructor and Description | 
|---|
ServerSpec.Builder()  | 
| Modifier and Type | Method and Description | 
|---|---|
ServerSpec | 
build()  | 
T | 
cpuCores(int cpuCores)  | 
T | 
datacenter(String datacenter)  | 
T | 
diskSizeGB(int diskSizeGB)  | 
T | 
fromServerSpec(ServerSpec in)  | 
T | 
memorySizeMB(int memorySizeMB)  | 
T | 
platform(String platform)  | 
protected abstract T | 
self()  | 
T | 
templateName(String templateName)  | 
T | 
transferGB(int transferGB)  | 
protected String platform
protected String datacenter
protected int memorySizeMB
protected int diskSizeGB
protected String templateName
protected int cpuCores
protected int transferGB
protected abstract T self()
public T platform(String platform)
ServerSpec.getPlatform()public T datacenter(String datacenter)
ServerSpec.getDatacenter()public T memorySizeMB(int memorySizeMB)
ServerSpec.getMemorySizeMB()public T diskSizeGB(int diskSizeGB)
ServerSpec.getDiskSizeGB()public T templateName(String templateName)
ServerSpec.getTemplateName()public T cpuCores(int cpuCores)
ServerSpec.getCpuCores()public T transferGB(int transferGB)
ServerSpec.getTransferGB()public ServerSpec build()
public T fromServerSpec(ServerSpec in)
Copyright © 2009-2013 jclouds. All Rights Reserved.