Class LoadBalancer
- java.lang.Object
-
- com.softlayer.api.Type
-
- com.softlayer.api.service.Entity
-
- com.softlayer.api.service.network.lbaas.LoadBalancer
-
@ApiType("SoftLayer_Network_LBaaS_LoadBalancer") public class LoadBalancer extends Entity
The SoftLayer_Network_LBaaS_LoadBalancer type presents a structure containing attributes of a load balancer, and its related objects including listeners, pools and members.- See Also:
- SoftLayer_Network_LBaaS_LoadBalancer
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LoadBalancer.Mask
static interface
LoadBalancer.Service
The SoftLayer_Network_LBaaS_LoadBalancer service allows customers to create, edit, delete, get details of a load balancer instance and retrieve all existing load balancer instances.static interface
LoadBalancer.ServiceAsync
-
Field Summary
Fields Modifier and Type Field Description protected Long
accountId
The account this load balancer belongs to.protected boolean
accountIdSpecified
protected String
address
Address (Host name) of a load balancer.protected boolean
addressSpecified
protected GregorianCalendar
createDate
Specifies when a load balancer was created.protected boolean
createDateSpecified
protected Location
datacenter
Datacenter, where load balancer is located.protected String
description
Description of a load balancer.protected boolean
descriptionSpecified
protected Long
healthMonitorCount
A count of health monitors for the backend members.protected List<HealthMonitor>
healthMonitors
Health monitors for the backend members.protected Long
id
The unique identifier of a load balancer.protected boolean
idSpecified
protected Long
isDataLogEnabled
Specifies whether the data log is enabled for the load balancer.protected boolean
isDataLogEnabledSpecified
protected Long
isPublic
Specifies whether the load balancer is a public or internal load balancer.protected boolean
isPublicSpecified
protected Long
l7PoolCount
A count of l7Pools for load balancer.protected List<L7Pool>
l7Pools
L7Pools for load balancer.protected Long
listenerCount
A count of listeners assigned to load balancer.protected List<Listener>
listeners
Listeners assigned to load balancer.protected Long
locationId
This references to location with type datacenterprotected boolean
locationIdSpecified
protected Long
memberCount
A count of members assigned to load balancer.protected List<Member>
members
Members assigned to load balancer.protected GregorianCalendar
modifyDate
Specifies when a load balancer was updated last.protected boolean
modifyDateSpecified
protected String
name
The load balancer's name.protected boolean
nameSpecified
protected String
operatingStatus
The operation status "ONLINE" or "OFFLINE" of a load balancer.protected boolean
operatingStatusSpecified
protected String
previousErrorText
Error message of previous API call in case of failureprotected boolean
previousErrorTextSpecified
protected String
provisioningStatus
The provisioning status of a load balancer.protected boolean
provisioningStatusSpecified
protected Long
sslCipherCount
A count of list of preferred custom ciphers configured for the load balancer.protected List<SSLCipher>
sslCiphers
list of preferred custom ciphers configured for the load balancer.protected Long
type
Specifies the type of load balancer.protected boolean
typeSpecified
protected Long
useSystemPublicIpPool
Applicable for public load balancer only.protected boolean
useSystemPublicIpPoolSpecified
protected String
uuid
The UUID of a load balancer.protected boolean
uuidSpecified
-
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
-
Constructor Summary
Constructors Constructor Description LoadBalancer()
-
Method Summary
-
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
-
-
-
Field Detail
-
datacenter
@ApiProperty protected Location datacenter
Datacenter, where load balancer is located.
-
healthMonitors
@ApiProperty protected List<HealthMonitor> healthMonitors
Health monitors for the backend members.
-
l7Pools
@ApiProperty protected List<L7Pool> l7Pools
L7Pools for load balancer.
-
listeners
@ApiProperty protected List<Listener> listeners
Listeners assigned to load balancer.
-
members
@ApiProperty protected List<Member> members
Members assigned to load balancer.
-
sslCiphers
@ApiProperty protected List<SSLCipher> sslCiphers
list of preferred custom ciphers configured for the load balancer.
-
accountId
@ApiProperty(canBeNullOrNotSet=true) protected Long accountId
The account this load balancer belongs to.
-
accountIdSpecified
protected boolean accountIdSpecified
-
address
@ApiProperty(canBeNullOrNotSet=true) protected String address
Address (Host name) of a load balancer.
-
addressSpecified
protected boolean addressSpecified
-
createDate
@ApiProperty(canBeNullOrNotSet=true) protected GregorianCalendar createDate
Specifies when a load balancer was created.
-
createDateSpecified
protected boolean createDateSpecified
-
description
@ApiProperty(canBeNullOrNotSet=true) protected String description
Description of a load balancer.
-
descriptionSpecified
protected boolean descriptionSpecified
-
id
@ApiProperty(canBeNullOrNotSet=true) protected Long id
The unique identifier of a load balancer.
-
idSpecified
protected boolean idSpecified
-
isDataLogEnabled
@ApiProperty(canBeNullOrNotSet=true) protected Long isDataLogEnabled
Specifies whether the data log is enabled for the load balancer.
-
isDataLogEnabledSpecified
protected boolean isDataLogEnabledSpecified
-
isPublic
@ApiProperty(canBeNullOrNotSet=true) protected Long isPublic
Specifies whether the load balancer is a public or internal load balancer.
-
isPublicSpecified
protected boolean isPublicSpecified
-
locationId
@ApiProperty(canBeNullOrNotSet=true) protected Long locationId
This references to location with type datacenter
-
locationIdSpecified
protected boolean locationIdSpecified
-
modifyDate
@ApiProperty(canBeNullOrNotSet=true) protected GregorianCalendar modifyDate
Specifies when a load balancer was updated last.
-
modifyDateSpecified
protected boolean modifyDateSpecified
-
name
@ApiProperty(canBeNullOrNotSet=true) protected String name
The load balancer's name.
-
nameSpecified
protected boolean nameSpecified
-
operatingStatus
@ApiProperty(canBeNullOrNotSet=true) protected String operatingStatus
The operation status "ONLINE" or "OFFLINE" of a load balancer.
-
operatingStatusSpecified
protected boolean operatingStatusSpecified
-
previousErrorText
@ApiProperty(canBeNullOrNotSet=true) protected String previousErrorText
Error message of previous API call in case of failure
-
previousErrorTextSpecified
protected boolean previousErrorTextSpecified
-
provisioningStatus
@ApiProperty(canBeNullOrNotSet=true) protected String provisioningStatus
The provisioning status of a load balancer.
-
provisioningStatusSpecified
protected boolean provisioningStatusSpecified
-
type
@ApiProperty(canBeNullOrNotSet=true) protected Long type
Specifies the type of load balancer.
-
typeSpecified
protected boolean typeSpecified
-
useSystemPublicIpPool
@ApiProperty(canBeNullOrNotSet=true) protected Long useSystemPublicIpPool
Applicable for public load balancer only. It specifies whether the public IP addresses are allocated from system public IP pool (1, default) or public subnet (null | 0) from the account ordering the load balancer. For internal load balancer, useSystemPublicIpPool will be ignored, and it always defaults to 1.
-
useSystemPublicIpPoolSpecified
protected boolean useSystemPublicIpPoolSpecified
-
uuid
@ApiProperty(canBeNullOrNotSet=true) protected String uuid
The UUID of a load balancer.
-
uuidSpecified
protected boolean uuidSpecified
-
healthMonitorCount
@ApiProperty protected Long healthMonitorCount
A count of health monitors for the backend members.
-
l7PoolCount
@ApiProperty protected Long l7PoolCount
A count of l7Pools for load balancer.
-
listenerCount
@ApiProperty protected Long listenerCount
A count of listeners assigned to load balancer.
-
memberCount
@ApiProperty protected Long memberCount
A count of members assigned to load balancer.
-
sslCipherCount
@ApiProperty protected Long sslCipherCount
A count of list of preferred custom ciphers configured for the load balancer.
-
-
Method Detail
-
getDatacenter
public Location getDatacenter()
-
setDatacenter
public void setDatacenter(Location datacenter)
-
getHealthMonitors
public List<HealthMonitor> getHealthMonitors()
-
getAccountId
public Long getAccountId()
-
setAccountId
public void setAccountId(Long accountId)
-
isAccountIdSpecified
public boolean isAccountIdSpecified()
-
unsetAccountId
public void unsetAccountId()
-
getAddress
public String getAddress()
-
setAddress
public void setAddress(String address)
-
isAddressSpecified
public boolean isAddressSpecified()
-
unsetAddress
public void unsetAddress()
-
getCreateDate
public GregorianCalendar getCreateDate()
-
setCreateDate
public void setCreateDate(GregorianCalendar createDate)
-
isCreateDateSpecified
public boolean isCreateDateSpecified()
-
unsetCreateDate
public void unsetCreateDate()
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
isDescriptionSpecified
public boolean isDescriptionSpecified()
-
unsetDescription
public void unsetDescription()
-
getId
public Long getId()
-
setId
public void setId(Long id)
-
isIdSpecified
public boolean isIdSpecified()
-
unsetId
public void unsetId()
-
getIsDataLogEnabled
public Long getIsDataLogEnabled()
-
setIsDataLogEnabled
public void setIsDataLogEnabled(Long isDataLogEnabled)
-
isIsDataLogEnabledSpecified
public boolean isIsDataLogEnabledSpecified()
-
unsetIsDataLogEnabled
public void unsetIsDataLogEnabled()
-
getIsPublic
public Long getIsPublic()
-
setIsPublic
public void setIsPublic(Long isPublic)
-
isIsPublicSpecified
public boolean isIsPublicSpecified()
-
unsetIsPublic
public void unsetIsPublic()
-
getLocationId
public Long getLocationId()
-
setLocationId
public void setLocationId(Long locationId)
-
isLocationIdSpecified
public boolean isLocationIdSpecified()
-
unsetLocationId
public void unsetLocationId()
-
getModifyDate
public GregorianCalendar getModifyDate()
-
setModifyDate
public void setModifyDate(GregorianCalendar modifyDate)
-
isModifyDateSpecified
public boolean isModifyDateSpecified()
-
unsetModifyDate
public void unsetModifyDate()
-
getName
public String getName()
-
setName
public void setName(String name)
-
isNameSpecified
public boolean isNameSpecified()
-
unsetName
public void unsetName()
-
getOperatingStatus
public String getOperatingStatus()
-
setOperatingStatus
public void setOperatingStatus(String operatingStatus)
-
isOperatingStatusSpecified
public boolean isOperatingStatusSpecified()
-
unsetOperatingStatus
public void unsetOperatingStatus()
-
getPreviousErrorText
public String getPreviousErrorText()
-
setPreviousErrorText
public void setPreviousErrorText(String previousErrorText)
-
isPreviousErrorTextSpecified
public boolean isPreviousErrorTextSpecified()
-
unsetPreviousErrorText
public void unsetPreviousErrorText()
-
getProvisioningStatus
public String getProvisioningStatus()
-
setProvisioningStatus
public void setProvisioningStatus(String provisioningStatus)
-
isProvisioningStatusSpecified
public boolean isProvisioningStatusSpecified()
-
unsetProvisioningStatus
public void unsetProvisioningStatus()
-
getType
public Long getType()
-
setType
public void setType(Long type)
-
isTypeSpecified
public boolean isTypeSpecified()
-
unsetType
public void unsetType()
-
getUseSystemPublicIpPool
public Long getUseSystemPublicIpPool()
-
setUseSystemPublicIpPool
public void setUseSystemPublicIpPool(Long useSystemPublicIpPool)
-
isUseSystemPublicIpPoolSpecified
public boolean isUseSystemPublicIpPoolSpecified()
-
unsetUseSystemPublicIpPool
public void unsetUseSystemPublicIpPool()
-
getUuid
public String getUuid()
-
setUuid
public void setUuid(String uuid)
-
isUuidSpecified
public boolean isUuidSpecified()
-
unsetUuid
public void unsetUuid()
-
getHealthMonitorCount
public Long getHealthMonitorCount()
-
setHealthMonitorCount
public void setHealthMonitorCount(Long healthMonitorCount)
-
getL7PoolCount
public Long getL7PoolCount()
-
setL7PoolCount
public void setL7PoolCount(Long l7PoolCount)
-
getListenerCount
public Long getListenerCount()
-
setListenerCount
public void setListenerCount(Long listenerCount)
-
getMemberCount
public Long getMemberCount()
-
setMemberCount
public void setMemberCount(Long memberCount)
-
getSslCipherCount
public Long getSslCipherCount()
-
setSslCipherCount
public void setSslCipherCount(Long sslCipherCount)
-
asService
public LoadBalancer.Service asService(ApiClient client)
-
service
public static LoadBalancer.Service service(ApiClient client)
-
service
public static LoadBalancer.Service service(ApiClient client, Long id)
-
-