Class Region
java.lang.Object
com.softlayer.api.Type
com.softlayer.api.service.Entity
com.softlayer.api.service.location.Region
@ApiType("SoftLayer_Location_Region") public class Region extends Entity
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:
- SoftLayer_Location_Region
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Region.Mask
-
Field Summary
Fields Modifier and Type Field Description protected String
description
A short description of a region's name.protected boolean
descriptionSpecified
protected String
keyname
A unique key name for a region.protected boolean
keynameSpecified
protected Location
location
Each region can have many locations tied to it.protected Long
locationCount
A count of the locations (like datacenters or PoPs) in this region.protected List<Location>
locations
The locations (like datacenters or PoPs) in this region.protected Long
sortOrder
An integer representing the order in which this element is displayed.protected boolean
sortOrderSpecified
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
Constructor Summary
Constructors Constructor Description Region()
-
Method Summary
Modifier and Type Method Description String
getDescription()
String
getKeyname()
Location
getLocation()
Long
getLocationCount()
List<Location>
getLocations()
Long
getSortOrder()
boolean
isDescriptionSpecified()
boolean
isKeynameSpecified()
boolean
isSortOrderSpecified()
void
setDescription(String description)
void
setKeyname(String keyname)
void
setLocation(Location location)
void
setLocationCount(Long locationCount)
void
setSortOrder(Long sortOrder)
void
unsetDescription()
void
unsetKeyname()
void
unsetSortOrder()
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
Field Details
-
location
Each region can have many locations tied to it. However, this is the location we currently provision to for a region. This location is the current valid location for a region. (Deprecated, use 'locations') -
locations
The locations (like datacenters or PoPs) in this region. -
description
A short description of a region's name. This description is seen on the order forms. -
descriptionSpecified
protected boolean descriptionSpecified -
keyname
A unique key name for a region. Provided for easy debugging. This is to be sent in with an order. -
keynameSpecified
protected boolean keynameSpecified -
sortOrder
An integer representing the order in which this element is displayed. -
sortOrderSpecified
protected boolean sortOrderSpecified -
locationCount
A count of the locations (like datacenters or PoPs) in this region.
-
-
Constructor Details
-
Region
public Region()
-
-
Method Details
-
getLocation
-
setLocation
-
getLocations
-
getDescription
-
setDescription
-
isDescriptionSpecified
public boolean isDescriptionSpecified() -
unsetDescription
public void unsetDescription() -
getKeyname
-
setKeyname
-
isKeynameSpecified
public boolean isKeynameSpecified() -
unsetKeyname
public void unsetKeyname() -
getSortOrder
-
setSortOrder
-
isSortOrderSpecified
public boolean isSortOrderSpecified() -
unsetSortOrder
public void unsetSortOrder() -
getLocationCount
-
setLocationCount
-