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
code(String code)
The state code.LoadBalancerState.Builder
code(LoadBalancerStateEnum code)
The state code.LoadBalancerState.Builder
reason(String reason)
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 Detail
-
code
LoadBalancerState.Builder code(String 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:
LoadBalancerStateEnum
,LoadBalancerStateEnum
-
code
LoadBalancerState.Builder code(LoadBalancerStateEnum 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:
LoadBalancerStateEnum
,LoadBalancerStateEnum
-
reason
LoadBalancerState.Builder reason(String 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.
-
-