public class LoadBalancerState
extends java.lang.Object
implements java.io.Serializable
Describes the state of a load balancer.
Constructor and Description |
---|
LoadBalancerState() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getLoadBalancerName()
The name of the load balancer.
|
java.lang.String |
getState()
One of the following load balancer states:
|
int |
hashCode() |
void |
setLoadBalancerName(java.lang.String loadBalancerName)
The name of the load balancer.
|
void |
setState(java.lang.String state)
One of the following load balancer states:
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
LoadBalancerState |
withLoadBalancerName(java.lang.String loadBalancerName)
The name of the load balancer.
|
LoadBalancerState |
withState(java.lang.String state)
One of the following load balancer states:
|
public java.lang.String getLoadBalancerName()
The name of the load balancer.
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
The name of the load balancer.
public void setLoadBalancerName(java.lang.String loadBalancerName)
The name of the load balancer.
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
loadBalancerName
- The name of the load balancer.
public LoadBalancerState withLoadBalancerName(java.lang.String loadBalancerName)
The name of the load balancer.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
loadBalancerName
- The name of the load balancer.
public java.lang.String 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.
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
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.
public void setState(java.lang.String 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.
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
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.
public LoadBalancerState withState(java.lang.String 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 a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
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.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.