public class Flavor extends Resource
Modifier and Type | Class and Description |
---|---|
static class |
Flavor.Builder<T extends Flavor.Builder<T>> |
Modifier | Constructor and Description |
---|---|
protected |
Flavor(String id,
String name,
Set<Link> links,
int ram,
int disk,
int vcpus,
String swap,
Double rxtxFactor,
Integer ephemeral) |
Modifier and Type | Method and Description |
---|---|
static Flavor.Builder<?> |
builder() |
boolean |
equals(Object obj) |
int |
getDisk() |
com.google.common.base.Optional<Integer> |
getEphemeral()
Retrieves ephemeral disk space in GB
NOTE: This field is only present if the Flavor Extra Data extension is installed (alias "OS-FLV-EXT-DATA").
|
int |
getRam() |
com.google.common.base.Optional<Double> |
getRxtxFactor() |
com.google.common.base.Optional<String> |
getSwap() |
int |
getVcpus() |
int |
hashCode() |
protected com.google.common.base.Objects.ToStringHelper |
string() |
Flavor.Builder<?> |
toBuilder() |
public static Flavor.Builder<?> builder()
public Flavor.Builder<?> toBuilder()
public int getRam()
public int getDisk()
public int getVcpus()
public com.google.common.base.Optional<String> getSwap()
public com.google.common.base.Optional<Double> getRxtxFactor()
public com.google.common.base.Optional<Integer> getEphemeral()
org.jclouds.openstack.nova.v2_0.features.ExtensionApi#getExtensionByAlias
,
ExtensionNamespaces.FLAVOR_EXTRA_DATA
Copyright © 2009-2013 jclouds. All Rights Reserved.