Class Flavor
java.lang.Object
org.jclouds.openstack.v2_0.domain.Resource
org.jclouds.openstack.nova.v2_0.domain.Flavor
- All Implemented Interfaces:
Comparable<Resource>
A flavor is an available hardware configuration for a server. Each flavor has
a unique combination of disk space and memory capacity.
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Flavor.Builder
<?> builder()
boolean
int
getDisk()
com.google.common.base.Optional
<Integer> Retrieves ephemeral disk space in GBint
getRam()
com.google.common.base.Optional
<Double> com.google.common.base.Optional
<String> getSwap()
int
getVcpus()
int
hashCode()
protected com.google.common.base.MoreObjects.ToStringHelper
string()
-
Constructor Details
-
Flavor
-
-
Method Details
-
builder
-
toBuilder
-
getRam
public int getRam() -
getDisk
public int getDisk() -
getVcpus
public int getVcpus() -
getSwap
-
getRxtxFactor
-
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").- See Also:
-
hashCode
public int hashCode() -
equals
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string()
-