public class Flavor extends Object implements Comparable<Flavor>
Modifier and Type | Class and Description |
---|---|
static class |
Flavor.Builder |
Modifier | Constructor and Description |
---|---|
protected |
Flavor(int id,
String name,
int ram,
List<Link> links) |
Modifier and Type | Method and Description |
---|---|
static Flavor.Builder |
builder() |
int |
compareTo(Flavor that) |
boolean |
equals(Object obj) |
int |
getId() |
List<Link> |
getLinks() |
String |
getName() |
int |
getRam() |
int |
hashCode() |
protected com.google.common.base.Objects.ToStringHelper |
string() |
Flavor.Builder |
toBuilder() |
String |
toString() |
@ConstructorProperties(value={"id","name","ram","links"}) protected Flavor(int id, String name, int ram, List<Link> links)
public int getId()
public String getName()
public int getRam()
public List<Link> getLinks()
protected com.google.common.base.Objects.ToStringHelper string()
public int compareTo(Flavor that)
compareTo
in interface Comparable<Flavor>
public static Flavor.Builder builder()
public Flavor.Builder toBuilder()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.