Package org.jclouds.gogrid.domain
Class Option
- java.lang.Object
-
- org.jclouds.gogrid.domain.Option
-
- All Implemented Interfaces:
Comparable<Option>
public class Option extends Object implements Comparable<Option>
Class Option
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Option.Builder<T extends Option.Builder<T>>
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Option.Builder<?>
builder()
int
compareTo(Option o)
static Option
createWithIdNameAndDescription(Long id, String name, String description)
boolean
equals(Object obj)
String
getDescription()
Long
getId()
String
getName()
int
hashCode()
protected com.google.common.base.MoreObjects.ToStringHelper
string()
Option.Builder<?>
toBuilder()
String
toString()
-
-
-
Constructor Detail
-
Option
@ConstructorProperties({"id","name","description"}) protected Option(Long id, String name, @Nullable String description)
-
-
Method Detail
-
builder
public static Option.Builder<?> builder()
-
toBuilder
public Option.Builder<?> toBuilder()
-
createWithIdNameAndDescription
public static Option createWithIdNameAndDescription(Long id, String name, String description)
-
getId
public Long getId()
-
getName
public String getName()
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string()
-
compareTo
public int compareTo(Option o)
- Specified by:
compareTo
in interfaceComparable<Option>
-
-