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()booleanintgetDisk()com.google.common.base.Optional<Integer> Retrieves ephemeral disk space in GBintgetRam()com.google.common.base.Optional<Double> com.google.common.base.Optional<String> getSwap()intgetVcpus()inthashCode()protected com.google.common.base.MoreObjects.ToStringHelperstring() 
- 
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() 
 -