Package com.softlayer.api.service
Class Location
- java.lang.Object
-
- com.softlayer.api.Type
-
- com.softlayer.api.service.Entity
-
- com.softlayer.api.service.Location
-
@ApiType("SoftLayer_Location") public class Location extends Entity
Every piece of hardware and network connection owned by SoftLayer is tracked physically by location and stored in the SoftLayer_Location data type. SoftLayer locations exist in parent/child relationships, a convenient way to track equipment from it's city, datacenter, server room, rack, then slot. Network backbones are tied to datacenters only, not to a room, rack, or slot.- See Also:
- SoftLayer_Location
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Location.Mask
static interface
Location.Service
The SoftLayer_Location API service queries SoftLayer's location tree to find locations for all softlayer resources including bare metal servers, virtual servers, storage repositories, datacenters, points of presence, network backbones, and many more.static interface
Location.ServiceAsync
-
Field Summary
Fields Modifier and Type Field Description protected Long
activePresaleEventCount
A count ofprotected List<Event>
activePresaleEvents
protected Long
backboneDependentCount
A count ofprotected List<Dependent>
backboneDependents
protected Boolean
bnppCompliantFlag
A flag indicating whether or not the datacenter/location is BNPP compliant.protected Boolean
euCompliantFlag
A flag indicating whether or not the datacenter/location is EU compliant.protected Long
groupCount
A count of a location can be a member of 1 or more groups.protected List<Group>
groups
A location can be a member of 1 or more groups.protected Long
hardwareFirewallCount
A count ofprotected List<Hardware>
hardwareFirewalls
protected Long
id
The unique identifier of a specific location.protected boolean
idSpecified
protected Address
locationAddress
A location's physical address.protected Long
locationAddressCount
A count of a location's physical addresses.protected List<Address>
locationAddresses
A location's physical addresses.protected Member
locationReservationMember
A location's Dedicated Rack memberprotected Status
locationStatus
The current locations status.protected String
longName
A longer location description.protected boolean
longNameSpecified
protected String
name
A short location description.protected boolean
nameSpecified
protected Attribute
networkConfigurationAttribute
protected Long
onlineSslVpnUserCount
The total number of users online using SoftLayer's SSL VPN service for a location.protected String
pathString
protected Long
priceGroupCount
A count of a location can be a member of 1 or more Price Groups.protected List<Group>
priceGroups
A location can be a member of 1 or more Price Groups.protected Long
regionCount
A count of a location can be a member of 1 or more regions.protected List<Region>
regions
A location can be a member of 1 or more regions.protected Long
statusId
protected boolean
statusIdSpecified
protected Timezone
timezone
protected CrossReference
vdrGroup
A location can be a member of 1 Bandwidth Pooling Group.-
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
-
Constructor Summary
Constructors Constructor Description Location()
-
Method Summary
-
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
-
-
-
Field Detail
-
activePresaleEvents
@ApiProperty protected List<Event> activePresaleEvents
-
backboneDependents
@ApiProperty protected List<Dependent> backboneDependents
-
bnppCompliantFlag
@ApiProperty protected Boolean bnppCompliantFlag
A flag indicating whether or not the datacenter/location is BNPP compliant.
-
euCompliantFlag
@ApiProperty protected Boolean euCompliantFlag
A flag indicating whether or not the datacenter/location is EU compliant.
-
groups
@ApiProperty protected List<Group> groups
A location can be a member of 1 or more groups. This will show which groups to which a location belongs.
-
hardwareFirewalls
@ApiProperty protected List<Hardware> hardwareFirewalls
-
locationAddress
@ApiProperty protected Address locationAddress
A location's physical address.
-
locationAddresses
@ApiProperty protected List<Address> locationAddresses
A location's physical addresses.
-
locationReservationMember
@ApiProperty protected Member locationReservationMember
A location's Dedicated Rack member
-
locationStatus
@ApiProperty protected Status locationStatus
The current locations status.
-
networkConfigurationAttribute
@ApiProperty protected Attribute networkConfigurationAttribute
-
onlineSslVpnUserCount
@ApiProperty protected Long onlineSslVpnUserCount
The total number of users online using SoftLayer's SSL VPN service for a location.
-
pathString
@ApiProperty protected String pathString
-
priceGroups
@ApiProperty protected List<Group> priceGroups
A location can be a member of 1 or more Price Groups. This will show which groups to which a location belongs.
-
regions
@ApiProperty protected List<Region> regions
A location can be a member of 1 or more regions. This will show which regions to which a location belongs.
-
timezone
@ApiProperty protected Timezone timezone
-
vdrGroup
@ApiProperty protected CrossReference vdrGroup
A location can be a member of 1 Bandwidth Pooling Group. This will show which group to which a location belongs.
-
id
@ApiProperty(canBeNullOrNotSet=true) protected Long id
The unique identifier of a specific location.
-
idSpecified
protected boolean idSpecified
-
longName
@ApiProperty(canBeNullOrNotSet=true) protected String longName
A longer location description.
-
longNameSpecified
protected boolean longNameSpecified
-
name
@ApiProperty(canBeNullOrNotSet=true) protected String name
A short location description.
-
nameSpecified
protected boolean nameSpecified
-
statusId
@ApiProperty(canBeNullOrNotSet=true) protected Long statusId
-
statusIdSpecified
protected boolean statusIdSpecified
-
activePresaleEventCount
@ApiProperty protected Long activePresaleEventCount
A count of
-
backboneDependentCount
@ApiProperty protected Long backboneDependentCount
A count of
-
groupCount
@ApiProperty protected Long groupCount
A count of a location can be a member of 1 or more groups. This will show which groups to which a location belongs.
-
hardwareFirewallCount
@ApiProperty protected Long hardwareFirewallCount
A count of
-
locationAddressCount
@ApiProperty protected Long locationAddressCount
A count of a location's physical addresses.
-
priceGroupCount
@ApiProperty protected Long priceGroupCount
A count of a location can be a member of 1 or more Price Groups. This will show which groups to which a location belongs.
-
regionCount
@ApiProperty protected Long regionCount
A count of a location can be a member of 1 or more regions. This will show which regions to which a location belongs.
-
-
Method Detail
-
getBnppCompliantFlag
public Boolean getBnppCompliantFlag()
-
setBnppCompliantFlag
public void setBnppCompliantFlag(Boolean bnppCompliantFlag)
-
getEuCompliantFlag
public Boolean getEuCompliantFlag()
-
setEuCompliantFlag
public void setEuCompliantFlag(Boolean euCompliantFlag)
-
getLocationAddress
public Address getLocationAddress()
-
setLocationAddress
public void setLocationAddress(Address locationAddress)
-
getLocationReservationMember
public Member getLocationReservationMember()
-
setLocationReservationMember
public void setLocationReservationMember(Member locationReservationMember)
-
getLocationStatus
public Status getLocationStatus()
-
setLocationStatus
public void setLocationStatus(Status locationStatus)
-
getNetworkConfigurationAttribute
public Attribute getNetworkConfigurationAttribute()
-
setNetworkConfigurationAttribute
public void setNetworkConfigurationAttribute(Attribute networkConfigurationAttribute)
-
getOnlineSslVpnUserCount
public Long getOnlineSslVpnUserCount()
-
setOnlineSslVpnUserCount
public void setOnlineSslVpnUserCount(Long onlineSslVpnUserCount)
-
getPathString
public String getPathString()
-
setPathString
public void setPathString(String pathString)
-
getTimezone
public Timezone getTimezone()
-
setTimezone
public void setTimezone(Timezone timezone)
-
getVdrGroup
public CrossReference getVdrGroup()
-
setVdrGroup
public void setVdrGroup(CrossReference vdrGroup)
-
getId
public Long getId()
-
setId
public void setId(Long id)
-
isIdSpecified
public boolean isIdSpecified()
-
unsetId
public void unsetId()
-
getLongName
public String getLongName()
-
setLongName
public void setLongName(String longName)
-
isLongNameSpecified
public boolean isLongNameSpecified()
-
unsetLongName
public void unsetLongName()
-
getName
public String getName()
-
setName
public void setName(String name)
-
isNameSpecified
public boolean isNameSpecified()
-
unsetName
public void unsetName()
-
getStatusId
public Long getStatusId()
-
setStatusId
public void setStatusId(Long statusId)
-
isStatusIdSpecified
public boolean isStatusIdSpecified()
-
unsetStatusId
public void unsetStatusId()
-
getActivePresaleEventCount
public Long getActivePresaleEventCount()
-
setActivePresaleEventCount
public void setActivePresaleEventCount(Long activePresaleEventCount)
-
getBackboneDependentCount
public Long getBackboneDependentCount()
-
setBackboneDependentCount
public void setBackboneDependentCount(Long backboneDependentCount)
-
getGroupCount
public Long getGroupCount()
-
setGroupCount
public void setGroupCount(Long groupCount)
-
getHardwareFirewallCount
public Long getHardwareFirewallCount()
-
setHardwareFirewallCount
public void setHardwareFirewallCount(Long hardwareFirewallCount)
-
getLocationAddressCount
public Long getLocationAddressCount()
-
setLocationAddressCount
public void setLocationAddressCount(Long locationAddressCount)
-
getPriceGroupCount
public Long getPriceGroupCount()
-
setPriceGroupCount
public void setPriceGroupCount(Long priceGroupCount)
-
getRegionCount
public Long getRegionCount()
-
setRegionCount
public void setRegionCount(Long regionCount)
-
asService
public Location.Service asService(ApiClient client)
-
service
public static Location.Service service(ApiClient client)
-
service
public static Location.Service service(ApiClient client, Long id)
-
-