public abstract static class Flavor.Builder<T extends Flavor.Builder<T>> extends Resource.Builder<T>
Modifier and Type | Field and Description |
---|---|
protected Integer |
disk |
protected String |
name |
protected Integer |
ram |
protected Integer |
vcpus |
id, links, orderedSelfReferences
Constructor and Description |
---|
Flavor.Builder() |
Modifier and Type | Method and Description |
---|---|
Flavor |
build() |
T |
disk(Integer disk) |
T |
fromFlavor(Flavor in) |
T |
name(String name) |
T |
ram(Integer ram) |
T |
vcpus(Integer vcpus) |
fromResource, id, links, links, orderedSelfReferences, self
protected String name
protected Integer disk
protected Integer ram
protected Integer vcpus
public T name(String name)
Flavor.getName()
public T disk(Integer disk)
Flavor.getDisk()
public T ram(Integer ram)
Flavor.getRam()
public T vcpus(Integer vcpus)
Flavor.getVcpus()
public Flavor build()
Copyright © 2009-2013 jclouds. All Rights Reserved.