@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LoadBalancerState extends Object implements Serializable, Cloneable
Describes the state of a Classic 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()
One of the following load balancer states:
|
int |
hashCode() |
void |
setLoadBalancerName(String loadBalancerName)
The name of the load balancer.
|
void |
setState(String state)
One of the following load balancer states:
|
String |
toString()
Returns a string representation of this object.
|
LoadBalancerState |
withLoadBalancerName(String loadBalancerName)
The name of the load balancer.
|
LoadBalancerState |
withState(String state)
One of the following load balancer states:
|
public void setLoadBalancerName(String loadBalancerName)
The name of the load balancer.
loadBalancerName
- The name of the load balancer.public String getLoadBalancerName()
The name of the load balancer.
public LoadBalancerState withLoadBalancerName(String loadBalancerName)
The name of the load balancer.
loadBalancerName
- The name of the load balancer.public void setState(String state)
One of the following load balancer states:
Adding
- The Auto Scaling instances are being registered with the load balancer.
Added
- All Auto Scaling instances are registered with the load balancer.
InService
- At least one Auto Scaling instance passed an ELB
health check.
Removing
- The Auto Scaling 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.
Removed
- All Auto Scaling instances are deregistered from the load balancer.
state
- One of the following load balancer states:
Adding
- The Auto Scaling instances are being registered with the load balancer.
Added
- All Auto Scaling instances are registered with the load balancer.
InService
- At least one Auto Scaling instance passed an ELB
health check.
Removing
- The Auto Scaling 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.
Removed
- All Auto Scaling instances are deregistered from the load balancer.
public String getState()
One of the following load balancer states:
Adding
- The Auto Scaling instances are being registered with the load balancer.
Added
- All Auto Scaling instances are registered with the load balancer.
InService
- At least one Auto Scaling instance passed an ELB
health check.
Removing
- The Auto Scaling 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.
Removed
- All Auto Scaling instances are deregistered from the load balancer.
Adding
- The Auto Scaling instances are being registered with the load balancer.
Added
- All Auto Scaling instances are registered with the load balancer.
InService
- At least one Auto Scaling instance passed an ELB
health check.
Removing
- The Auto Scaling 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.
Removed
- All Auto Scaling instances are deregistered from the load balancer.
public LoadBalancerState withState(String state)
One of the following load balancer states:
Adding
- The Auto Scaling instances are being registered with the load balancer.
Added
- All Auto Scaling instances are registered with the load balancer.
InService
- At least one Auto Scaling instance passed an ELB
health check.
Removing
- The Auto Scaling 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.
Removed
- All Auto Scaling instances are deregistered from the load balancer.
state
- One of the following load balancer states:
Adding
- The Auto Scaling instances are being registered with the load balancer.
Added
- All Auto Scaling instances are registered with the load balancer.
InService
- At least one Auto Scaling instance passed an ELB
health check.
Removing
- The Auto Scaling 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.
Removed
- All Auto Scaling instances are deregistered from the load balancer.
public String toString()
toString
in class Object
Object.toString()
public LoadBalancerState clone()