Class Flavor
java.lang.Object
org.jclouds.openstack.trove.v1.domain.Flavor
- All Implemented Interfaces:
Comparable<Flavor>
An Openstack Trove Flavor.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Flavor
@ConstructorProperties({"id","name","ram","links"}) protected Flavor(int id, String name, int ram, List<Link> links)
-
-
Method Details
-
getId
public int getId()- Returns:
- the id of this flavor.
-
getName
- Returns:
- the name of this flavor.
-
getRam
public int getRam()- Returns:
- the RAM amount for this flavor.
-
getLinks
- Returns:
- the flavor links for this flavor. These are used during database instance creation.
-
hashCode
public int hashCode() -
equals
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string() -
toString
-
compareTo
- Specified by:
compareTo
in interfaceComparable<Flavor>
-
builder
-
toBuilder
-