public class LoadBalancerState extends Object implements Serializable, Cloneable
Describes the state of a load balancer.
Constructor and Description |
---|
LoadBalancerState() |
Modifier and Type | Method and Description |
---|---|
LoadBalancerState |
clone() |
boolean |
equals(Object obj) |
String |
getLoadBalancerName()
The name of the load balancer.
|
String |
getState()
The state of the load balancer.
|
int |
hashCode() |
void |
setLoadBalancerName(String loadBalancerName)
The name of the load balancer.
|
void |
setState(String state)
The state of the load balancer.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
LoadBalancerState |
withLoadBalancerName(String loadBalancerName)
The name of the load balancer.
|
LoadBalancerState |
withState(String state)
The state of the load balancer.
|
public String getLoadBalancerName()
Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
public void setLoadBalancerName(String loadBalancerName)
Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
loadBalancerName
- The name of the load balancer.public LoadBalancerState withLoadBalancerName(String loadBalancerName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
loadBalancerName
- The name of the load balancer.public String getState()
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.
Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
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.
public void setState(String state)
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.
Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
state
- The state of the load balancer. 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.
public LoadBalancerState withState(String state)
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 a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
state
- The state of the load balancer. 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.
public String toString()
toString
in class Object
Object.toString()
public LoadBalancerState clone()
Copyright © 2015. All rights reserved.