Package org.jclouds.softlayer.domain
Class Region
- java.lang.Object
-
- org.jclouds.softlayer.domain.Region
-
- All Implemented Interfaces:
Comparable<Region>
public class Region extends Object implements Comparable<Region>
A region is made up of a keyname and a description of that region. A region keyname can be used as part of an order. Check the SoftLayer_Product_Order service for more details.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Region.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Region.Builder
builder()
int
compareTo(Region arg0)
boolean
equals(Object o)
String
getDescription()
String
getKeyname()
int
hashCode()
Region.Builder
toBuilder()
String
toString()
-
-
-
Constructor Detail
-
Region
@ConstructorProperties({"sortOrder","keyname","description"}) public Region(int sortOrder, String keyname, String description)
-
-
Method Detail
-
builder
public static Region.Builder builder()
-
compareTo
public int compareTo(Region arg0)
- Specified by:
compareTo
in interfaceComparable<Region>
-
getKeyname
public String getKeyname()
- Returns:
- A unique key name for a region. Provided for easy debugging. This is to be sent in with an order.
-
getDescription
@Nullable public String getDescription()
- Returns:
- A short description of a region's name. This description is seen on the order forms.
-
toBuilder
public Region.Builder toBuilder()
-
-