Package com.softlayer.api.service.scale
Class LoadBalancer
- java.lang.Object
-
- com.softlayer.api.Type
-
- com.softlayer.api.service.Entity
-
- com.softlayer.api.service.scale.LoadBalancer
-
@ApiType("SoftLayer_Scale_LoadBalancer") public class LoadBalancer extends Entity
A scale load balancer is a configuration for a load balancer virtual server that autoscaled members will be automatically configured for.- See Also:
- SoftLayer_Scale_LoadBalancer
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LoadBalancer.Mask
static interface
LoadBalancer.Service
A scale load balancer is a configuration for a load balancer virtual server that autoscaled members will be automatically configured for.static interface
LoadBalancer.ServiceAsync
-
Field Summary
Fields Modifier and Type Field Description protected Long
allocationPercent
The percentage of connections allocated to this virtual server.protected GregorianCalendar
createDate
When this load balancer configuration was created.protected boolean
createDateSpecified
protected Boolean
deleteFlag
When set and true any edit that happens on this object, be it calling edit on this directly or setting as a child while editing a parent object, will end up being a deletion.protected boolean
deleteFlagSpecified
protected Check
healthCheck
The health check for this configuration.protected Long
healthCheckId
The identifier for the health check of this load balancer configurationprotected boolean
healthCheckIdSpecified
protected Long
id
The load balancer configuration's internal identifier.protected boolean
idSpecified
protected GregorianCalendar
modifyDate
When this load balancer configuration was last modified.protected boolean
modifyDateSpecified
protected Long
port
The port for this load balancer configuration.protected boolean
portSpecified
protected Method
routingMethod
The routing method.protected Type
routingType
The routing type.protected Group
scaleGroup
The group this load balancer configuration is for.protected Long
scaleGroupId
The identifier of the group this load balancer configuration applies to.protected boolean
scaleGroupIdSpecified
protected Long
virtualIpAddressId
The ID of the virtual IP address.protected VirtualServer
virtualServer
The virtual server for this configuration.protected Long
virtualServerId
The identifier of the virtual server this load balancer configuration uses.protected boolean
virtualServerIdSpecified
protected Long
virtualServerPort
The port on the virtual server.-
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
-
allocationPercent
@ApiProperty protected Long allocationPercent
The percentage of connections allocated to this virtual server.
-
healthCheck
@ApiProperty protected Check healthCheck
The health check for this configuration.
-
routingMethod
@ApiProperty protected Method routingMethod
The routing method.
-
routingType
@ApiProperty protected Type routingType
The routing type.
-
scaleGroup
@ApiProperty protected Group scaleGroup
The group this load balancer configuration is for.
-
virtualIpAddressId
@ApiProperty protected Long virtualIpAddressId
The ID of the virtual IP address.
-
virtualServer
@ApiProperty protected VirtualServer virtualServer
The virtual server for this configuration.
-
virtualServerPort
@ApiProperty protected Long virtualServerPort
The port on the virtual server.
-
createDate
@ApiProperty(canBeNullOrNotSet=true) protected GregorianCalendar createDate
When this load balancer configuration was created.
-
createDateSpecified
protected boolean createDateSpecified
-
deleteFlag
@ApiProperty(canBeNullOrNotSet=true) protected Boolean deleteFlag
When set and true any edit that happens on this object, be it calling edit on this directly or setting as a child while editing a parent object, will end up being a deletion.
-
deleteFlagSpecified
protected boolean deleteFlagSpecified
-
healthCheckId
@ApiProperty(canBeNullOrNotSet=true) protected Long healthCheckId
The identifier for the health check of this load balancer configuration
-
healthCheckIdSpecified
protected boolean healthCheckIdSpecified
-
id
@ApiProperty(canBeNullOrNotSet=true) protected Long id
The load balancer configuration's internal identifier.
-
idSpecified
protected boolean idSpecified
-
modifyDate
@ApiProperty(canBeNullOrNotSet=true) protected GregorianCalendar modifyDate
When this load balancer configuration was last modified.
-
modifyDateSpecified
protected boolean modifyDateSpecified
-
port
@ApiProperty(canBeNullOrNotSet=true) protected Long port
The port for this load balancer configuration.
-
portSpecified
protected boolean portSpecified
-
scaleGroupId
@ApiProperty(canBeNullOrNotSet=true) protected Long scaleGroupId
The identifier of the group this load balancer configuration applies to.
-
scaleGroupIdSpecified
protected boolean scaleGroupIdSpecified
-
virtualServerId
@ApiProperty(canBeNullOrNotSet=true) protected Long virtualServerId
The identifier of the virtual server this load balancer configuration uses.
-
virtualServerIdSpecified
protected boolean virtualServerIdSpecified
-
-
Method Detail
-
getAllocationPercent
public Long getAllocationPercent()
-
setAllocationPercent
public void setAllocationPercent(Long allocationPercent)
-
getHealthCheck
public Check getHealthCheck()
-
setHealthCheck
public void setHealthCheck(Check healthCheck)
-
getRoutingMethod
public Method getRoutingMethod()
-
setRoutingMethod
public void setRoutingMethod(Method routingMethod)
-
getRoutingType
public Type getRoutingType()
-
setRoutingType
public void setRoutingType(Type routingType)
-
getScaleGroup
public Group getScaleGroup()
-
setScaleGroup
public void setScaleGroup(Group scaleGroup)
-
getVirtualIpAddressId
public Long getVirtualIpAddressId()
-
setVirtualIpAddressId
public void setVirtualIpAddressId(Long virtualIpAddressId)
-
getVirtualServer
public VirtualServer getVirtualServer()
-
setVirtualServer
public void setVirtualServer(VirtualServer virtualServer)
-
getVirtualServerPort
public Long getVirtualServerPort()
-
setVirtualServerPort
public void setVirtualServerPort(Long virtualServerPort)
-
getCreateDate
public GregorianCalendar getCreateDate()
-
setCreateDate
public void setCreateDate(GregorianCalendar createDate)
-
isCreateDateSpecified
public boolean isCreateDateSpecified()
-
unsetCreateDate
public void unsetCreateDate()
-
getDeleteFlag
public Boolean getDeleteFlag()
-
setDeleteFlag
public void setDeleteFlag(Boolean deleteFlag)
-
isDeleteFlagSpecified
public boolean isDeleteFlagSpecified()
-
unsetDeleteFlag
public void unsetDeleteFlag()
-
getHealthCheckId
public Long getHealthCheckId()
-
setHealthCheckId
public void setHealthCheckId(Long healthCheckId)
-
isHealthCheckIdSpecified
public boolean isHealthCheckIdSpecified()
-
unsetHealthCheckId
public void unsetHealthCheckId()
-
getId
public Long getId()
-
setId
public void setId(Long id)
-
isIdSpecified
public boolean isIdSpecified()
-
unsetId
public void unsetId()
-
getModifyDate
public GregorianCalendar getModifyDate()
-
setModifyDate
public void setModifyDate(GregorianCalendar modifyDate)
-
isModifyDateSpecified
public boolean isModifyDateSpecified()
-
unsetModifyDate
public void unsetModifyDate()
-
getPort
public Long getPort()
-
setPort
public void setPort(Long port)
-
isPortSpecified
public boolean isPortSpecified()
-
unsetPort
public void unsetPort()
-
getScaleGroupId
public Long getScaleGroupId()
-
setScaleGroupId
public void setScaleGroupId(Long scaleGroupId)
-
isScaleGroupIdSpecified
public boolean isScaleGroupIdSpecified()
-
unsetScaleGroupId
public void unsetScaleGroupId()
-
getVirtualServerId
public Long getVirtualServerId()
-
setVirtualServerId
public void setVirtualServerId(Long virtualServerId)
-
isVirtualServerIdSpecified
public boolean isVirtualServerIdSpecified()
-
unsetVirtualServerId
public void unsetVirtualServerId()
-
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)
-
-