Class Host
java.lang.Object
com.softlayer.api.Type
com.softlayer.api.service.Entity
com.softlayer.api.service.network.loadbalancer.global.Host
@ApiType("SoftLayer_Network_LoadBalancer_Global_Host") public class Host extends Entity
The global load balancer service has been deprecated and is no longer available.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Host.Mask
static interface
Host.Service
The global load balancer service has been deprecated and is no longer available.static interface
Host.ServiceAsync
-
Field Summary
Fields Modifier and Type Field Description protected String
destinationIp
The IP address of the host that will be returned by the global load balancers in response to a dns request.protected boolean
destinationIpSpecified
protected Long
destinationPort
The port of the host that will be used for health checks.protected boolean
destinationPortSpecified
protected Long
enabled
Whether the host is enabled or not.protected boolean
enabledSpecified
protected String
healthCheck
The health check type of a host.protected boolean
healthCheckSpecified
protected BigDecimal
hits
The number of times the host was selected by the load balance method.protected boolean
hitsSpecified
protected Long
id
The unique identifier of a global load balancer host.protected boolean
idSpecified
protected Long
loadBalanceOrder
The order of this host within the load balance pool.protected boolean
loadBalanceOrderSpecified
protected Account
loadBalancerAccount
The global load balancer account a host belongs to.protected String
location
The location of a host in a datacenter.serverRoom format.protected boolean
locationSpecified
protected String
status
The health status of a host.protected boolean
statusSpecified
protected Long
weight
The load balance weight of a host.protected boolean
weightSpecified
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
Constructor Summary
Constructors Constructor Description Host()
-
Method Summary
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
Field Details
-
loadBalancerAccount
The global load balancer account a host belongs to. -
destinationIp
The IP address of the host that will be returned by the global load balancers in response to a dns request. -
destinationIpSpecified
protected boolean destinationIpSpecified -
destinationPort
The port of the host that will be used for health checks. -
destinationPortSpecified
protected boolean destinationPortSpecified -
enabled
Whether the host is enabled or not. The value can be '0' for disabled, or '1' for enabled. -
enabledSpecified
protected boolean enabledSpecified -
healthCheck
The health check type of a host. Valid values include 'none', 'http', and 'tcp'. -
healthCheckSpecified
protected boolean healthCheckSpecified -
hits
The number of times the host was selected by the load balance method. -
hitsSpecified
protected boolean hitsSpecified -
id
The unique identifier of a global load balancer host. -
idSpecified
protected boolean idSpecified -
loadBalanceOrder
The order of this host within the load balance pool. This is only significant if the load balance method is set to failover. -
loadBalanceOrderSpecified
protected boolean loadBalanceOrderSpecified -
location
The location of a host in a datacenter.serverRoom format. -
locationSpecified
protected boolean locationSpecified -
status
The health status of a host. The status can be either 'UP', 'DOWN', or null which could mean that the health check type is set to 'none' or an update to the ip, port, or health check type was recently done and the host is waiting for the new status. -
statusSpecified
protected boolean statusSpecified -
weight
The load balance weight of a host. The total weight of all hosts in the load balancing pool must not exceed 100. -
weightSpecified
protected boolean weightSpecified
-
-
Constructor Details
-
Host
public Host()
-
-
Method Details
-
getLoadBalancerAccount
-
setLoadBalancerAccount
-
getDestinationIp
-
setDestinationIp
-
isDestinationIpSpecified
public boolean isDestinationIpSpecified() -
unsetDestinationIp
public void unsetDestinationIp() -
getDestinationPort
-
setDestinationPort
-
isDestinationPortSpecified
public boolean isDestinationPortSpecified() -
unsetDestinationPort
public void unsetDestinationPort() -
getEnabled
-
setEnabled
-
isEnabledSpecified
public boolean isEnabledSpecified() -
unsetEnabled
public void unsetEnabled() -
getHealthCheck
-
setHealthCheck
-
isHealthCheckSpecified
public boolean isHealthCheckSpecified() -
unsetHealthCheck
public void unsetHealthCheck() -
getHits
-
setHits
-
isHitsSpecified
public boolean isHitsSpecified() -
unsetHits
public void unsetHits() -
getId
-
setId
-
isIdSpecified
public boolean isIdSpecified() -
unsetId
public void unsetId() -
getLoadBalanceOrder
-
setLoadBalanceOrder
-
isLoadBalanceOrderSpecified
public boolean isLoadBalanceOrderSpecified() -
unsetLoadBalanceOrder
public void unsetLoadBalanceOrder() -
getLocation
-
setLocation
-
isLocationSpecified
public boolean isLocationSpecified() -
unsetLocation
public void unsetLocation() -
getStatus
-
setStatus
-
isStatusSpecified
public boolean isStatusSpecified() -
unsetStatus
public void unsetStatus() -
getWeight
-
setWeight
-
isWeightSpecified
public boolean isWeightSpecified() -
unsetWeight
public void unsetWeight() -
asService
-
service
-
service
-