Class Status
java.lang.Object
com.softlayer.api.Type
com.softlayer.api.service.Entity
com.softlayer.api.service.location.Status
@ApiType("SoftLayer_Location_Status") public class Status extends Entity
SoftLayer_Location_Status models the state of any location. SoftLayer uses the following status codes:
*'''ACTIVE''': The location is currently active and available for public usage.
*'''PLANNED''': Used when a location is planned but not yet active.
*'''RETIRED''': Used when a location has been retired and no longer active.
Locations in use should stay in the ACTIVE state. If a locations status ever reads anything else and contains active hardware then please contact SoftLayer support.
*'''ACTIVE''': The location is currently active and available for public usage.
*'''PLANNED''': Used when a location is planned but not yet active.
*'''RETIRED''': Used when a location has been retired and no longer active.
Locations in use should stay in the ACTIVE state. If a locations status ever reads anything else and contains active hardware then please contact SoftLayer support.
- See Also:
- SoftLayer_Location_Status
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Status.Mask
-
Field Summary
Fields Modifier and Type Field Description protected Long
id
A locations status's internal identifier.protected boolean
idSpecified
protected String
status
A Location's status code.protected boolean
statusSpecified
-
Constructor Summary
Constructors Constructor Description Status()
-
Method Summary
Modifier and Type Method Description Long
getId()
String
getStatus()
boolean
isIdSpecified()
boolean
isStatusSpecified()
void
setId(Long id)
void
setStatus(String status)
void
unsetId()
void
unsetStatus()
-
Field Details
-
id
A locations status's internal identifier. -
idSpecified
protected boolean idSpecified -
status
A Location's status code. See the SoftLayer_Locaiton_Status Overview for ''status''' possible values. -
statusSpecified
protected boolean statusSpecified
-
-
Constructor Details
-
Status
public Status()
-
-
Method Details
-
getId
-
setId
-
isIdSpecified
public boolean isIdSpecified() -
unsetId
public void unsetId() -
getStatus
-
setStatus
-
isStatusSpecified
public boolean isStatusSpecified() -
unsetStatus
public void unsetStatus()
-