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