Class Regional
- java.lang.Object
-
- com.softlayer.api.Type
-
- com.softlayer.api.service.Entity
-
- com.softlayer.api.service.location.Group
-
- com.softlayer.api.service.location.group.Regional
-
@ApiType("SoftLayer_Location_Group_Regional") public class Regional extends Group
A regional location group is a collection of datacenters for a region.- See Also:
- SoftLayer_Location_Group_Regional
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Regional.Mask
static interface
Regional.Service
A regional location group is a collection of datacenters for a region.static interface
Regional.ServiceAsync
-
Field Summary
Fields Modifier and Type Field Description protected Long
datacenterCount
A count of the datacenters in a group.protected List<Location>
datacenters
The datacenters in a group.protected Datacenter
preferredDatacenter
The preferred datacenters of a group.-
Fields inherited from class com.softlayer.api.service.location.Group
description, descriptionSpecified, id, idSpecified, locationCount, locationGroupType, locationGroupTypeId, locationGroupTypeIdSpecified, locations, name, nameSpecified, securityLevelId, securityLevelIdSpecified
-
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
-
Constructor Summary
Constructors Constructor Description Regional()
-
Method Summary
Modifier and Type Method Description Regional.Service
asService(ApiClient client)
Long
getDatacenterCount()
List<Location>
getDatacenters()
Datacenter
getPreferredDatacenter()
static Regional.Service
service(ApiClient client)
static Regional.Service
service(ApiClient client, Long id)
void
setDatacenterCount(Long datacenterCount)
void
setPreferredDatacenter(Datacenter preferredDatacenter)
-
Methods inherited from class com.softlayer.api.service.location.Group
getDescription, getId, getLocationCount, getLocationGroupType, getLocationGroupTypeId, getLocations, getName, getSecurityLevelId, isDescriptionSpecified, isIdSpecified, isLocationGroupTypeIdSpecified, isNameSpecified, isSecurityLevelIdSpecified, setDescription, setId, setLocationCount, setLocationGroupType, setLocationGroupTypeId, setName, setSecurityLevelId, unsetDescription, unsetId, unsetLocationGroupTypeId, unsetName, unsetSecurityLevelId
-
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
-
-
-
Field Detail
-
datacenters
@ApiProperty protected List<Location> datacenters
The datacenters in a group.
-
preferredDatacenter
@ApiProperty protected Datacenter preferredDatacenter
The preferred datacenters of a group.
-
datacenterCount
@ApiProperty protected Long datacenterCount
A count of the datacenters in a group.
-
-
Method Detail
-
getPreferredDatacenter
public Datacenter getPreferredDatacenter()
-
setPreferredDatacenter
public void setPreferredDatacenter(Datacenter preferredDatacenter)
-
getDatacenterCount
public Long getDatacenterCount()
-
setDatacenterCount
public void setDatacenterCount(Long datacenterCount)
-
asService
public Regional.Service asService(ApiClient client)
-
service
public static Regional.Service service(ApiClient client)
-
service
public static Regional.Service service(ApiClient client, Long id)
-
-