public static class ServerSpec.Builder 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() |
ServerSpec.Builder |
cpuCores(int cpuCores) |
ServerSpec.Builder |
datacenter(String datacenter) |
ServerSpec.Builder |
diskSizeGB(int diskSizeGB) |
static ServerSpec.Builder |
fromServerSpecification(ServerSpec in) |
ServerSpec.Builder |
memorySizeMB(int memorySizeMB) |
ServerSpec.Builder |
platform(String platform) |
ServerSpec.Builder |
templateName(String templateName) |
ServerSpec.Builder |
transferGB(int transferGB) |
protected String datacenter
protected String platform
protected String templateName
protected int diskSizeGB
protected int memorySizeMB
protected int cpuCores
protected int transferGB
public ServerSpec.Builder datacenter(String datacenter)
public ServerSpec.Builder platform(String platform)
public ServerSpec.Builder templateName(String templateName)
public ServerSpec.Builder diskSizeGB(int diskSizeGB)
public ServerSpec.Builder memorySizeMB(int memorySizeMB)
public ServerSpec.Builder cpuCores(int cpuCores)
public ServerSpec.Builder transferGB(int transferGB)
public ServerSpec build()
public static ServerSpec.Builder fromServerSpecification(ServerSpec in)
Copyright © 2009-2012 jclouds. All Rights Reserved.