Class LoadBalancerState
- All Implemented Interfaces:
Serializable,Cloneable
Describes the state of a load balancer.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanThe name of the load balancer.getState()One of the following load balancer states:inthashCode()voidsetLoadBalancerName(String loadBalancerName) The name of the load balancer.voidOne of the following load balancer states:toString()Returns a string representation of this object; useful for testing and debugging.withLoadBalancerName(String loadBalancerName) The name of the load balancer.One of the following load balancer states:
-
Constructor Details
-
LoadBalancerState
public LoadBalancerState()
-
-
Method Details
-
setLoadBalancerName
The name of the load balancer.
- Parameters:
loadBalancerName- The name of the load balancer.
-
getLoadBalancerName
The name of the load balancer.
- Returns:
- The name of the load balancer.
-
withLoadBalancerName
The name of the load balancer.
- Parameters:
loadBalancerName- The name of the load balancer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setState
One of the following load balancer states:
-
Adding- The instances in the group are being registered with the load balancer. -
Added- All instances in the group are registered with the load balancer. -
InService- At least one instance in the group passed an ELB health check. -
Removing- The instances are being deregistered from the load balancer. If connection draining is enabled, Elastic Load Balancing waits for in-flight requests to complete before deregistering the instances.
- Parameters:
state- One of the following load balancer states:-
Adding- The instances in the group are being registered with the load balancer. -
Added- All instances in the group are registered with the load balancer. -
InService- At least one instance in the group passed an ELB health check. -
Removing- The instances are being deregistered from the load balancer. If connection draining is enabled, Elastic Load Balancing waits for in-flight requests to complete before deregistering the instances.
-
-
-
getState
One of the following load balancer states:
-
Adding- The instances in the group are being registered with the load balancer. -
Added- All instances in the group are registered with the load balancer. -
InService- At least one instance in the group passed an ELB health check. -
Removing- The instances are being deregistered from the load balancer. If connection draining is enabled, Elastic Load Balancing waits for in-flight requests to complete before deregistering the instances.
- Returns:
- One of the following load balancer states:
-
Adding- The instances in the group are being registered with the load balancer. -
Added- All instances in the group are registered with the load balancer. -
InService- At least one instance in the group passed an ELB health check. -
Removing- The instances are being deregistered from the load balancer. If connection draining is enabled, Elastic Load Balancing waits for in-flight requests to complete before deregistering the instances.
-
-
-
withState
One of the following load balancer states:
-
Adding- The instances in the group are being registered with the load balancer. -
Added- All instances in the group are registered with the load balancer. -
InService- At least one instance in the group passed an ELB health check. -
Removing- The instances are being deregistered from the load balancer. If connection draining is enabled, Elastic Load Balancing waits for in-flight requests to complete before deregistering the instances.
- Parameters:
state- One of the following load balancer states:-
Adding- The instances in the group are being registered with the load balancer. -
Added- All instances in the group are registered with the load balancer. -
InService- At least one instance in the group passed an ELB health check. -
Removing- The instances are being deregistered from the load balancer. If connection draining is enabled, Elastic Load Balancing waits for in-flight requests to complete before deregistering the instances.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-