Package org.jclouds.softlayer.domain
Class Region
java.lang.Object
org.jclouds.softlayer.domain.Region
- All Implemented Interfaces:
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.
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Region.Builder
builder()
int
boolean
int
hashCode()
toString()
-
Constructor Details
-
Region
@ConstructorProperties({"sortOrder","keyname","description"}) public Region(int sortOrder, String keyname, String description)
-
-
Method Details
-
builder
-
compareTo
- Specified by:
compareTo
in interfaceComparable<Region>
-
getKeyname
- Returns:
- A unique key name for a region. Provided for easy debugging. This is to be sent in with an order.
-
getDescription
- Returns:
- A short description of a region's name. This description is seen on the order forms.
-
toBuilder
-
equals
-
hashCode
public int hashCode() -
toString
-