Class Flavor.Builder<T extends Flavor.Builder<T>>
- java.lang.Object
-
- org.jclouds.openstack.v2_0.domain.Resource.Builder<T>
-
- org.jclouds.openstack.nova.v2_0.domain.Flavor.Builder<T>
-
- Enclosing class:
- Flavor
public abstract static class Flavor.Builder<T extends Flavor.Builder<T>> extends Resource.Builder<T>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
Methods inherited from class org.jclouds.openstack.v2_0.domain.Resource.Builder
fromResource, id, links, links, name, self
-
-
-
-
Method Detail
-
ram
public T ram(int ram)
- See Also:
Flavor.getRam()
-
disk
public T disk(int disk)
- See Also:
Flavor.getDisk()
-
vcpus
public T vcpus(int vcpus)
- See Also:
Flavor.getVcpus()
-
swap
public T swap(String swap)
- See Also:
Flavor.getSwap()
-
rxtxFactor
public T rxtxFactor(Double rxtxFactor)
- See Also:
Flavor.getRxtxFactor()
-
ephemeral
public T ephemeral(Integer ephemeral)
- See Also:
Flavor.getEphemeral()
-
build
public Flavor build()
- Overrides:
build
in classResource.Builder<T extends Flavor.Builder<T>>
-
-