Interface LoadBalancerState.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<LoadBalancerState.Builder,LoadBalancerState>
,SdkBuilder<LoadBalancerState.Builder,LoadBalancerState>
,SdkPojo
- Enclosing class:
- LoadBalancerState
public static interface LoadBalancerState.Builder extends SdkPojo, CopyableBuilder<LoadBalancerState.Builder,LoadBalancerState>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LoadBalancerState.Builder
loadBalancerName(String loadBalancerName)
The name of the load balancer.LoadBalancerState.Builder
state(String state)
One of the following load balancer states:-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
loadBalancerName
LoadBalancerState.Builder loadBalancerName(String loadBalancerName)
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.
-
state
LoadBalancerState.Builder state(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 anELB
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.
- Parameters:
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 anELB
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
-