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
Modifier and TypeMethodDescriptionThe state code.code
(LoadBalancerStateEnum code) The state code.A description of the state.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 Details
-
code
The state code. The initial state of the load balancer is
provisioning
. After the load balancer is fully set up and ready to route traffic, its state isactive
. If load balancer is routing traffic but does not have the resources it needs to scale, its state isactive_impaired
. If the load balancer could not be set up, its state isfailed
.- Parameters:
code
- The state code. The initial state of the load balancer isprovisioning
. After the load balancer is fully set up and ready to route traffic, its state isactive
. If load balancer is routing traffic but does not have the resources it needs to scale, its state isactive_impaired
. If the load balancer could not be set up, its state isfailed
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
code
The state code. The initial state of the load balancer is
provisioning
. After the load balancer is fully set up and ready to route traffic, its state isactive
. If load balancer is routing traffic but does not have the resources it needs to scale, its state isactive_impaired
. If the load balancer could not be set up, its state isfailed
.- Parameters:
code
- The state code. The initial state of the load balancer isprovisioning
. After the load balancer is fully set up and ready to route traffic, its state isactive
. If load balancer is routing traffic but does not have the resources it needs to scale, its state isactive_impaired
. If the load balancer could not be set up, its state isfailed
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
reason
A description of the state.
- Parameters:
reason
- A description of the state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-