Interface ConnectionDraining.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ConnectionDraining.Builder,
,ConnectionDraining> SdkBuilder<ConnectionDraining.Builder,
,ConnectionDraining> SdkPojo
- Enclosing class:
ConnectionDraining
public static interface ConnectionDraining.Builder
extends SdkPojo, CopyableBuilder<ConnectionDraining.Builder,ConnectionDraining>
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies whether connection draining is enabled for the load balancer.The maximum time, in seconds, to keep the existing connections open before deregistering the instances.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
-
enabled
Specifies whether connection draining is enabled for the load balancer.
- Parameters:
enabled
- Specifies whether connection draining is enabled for the load balancer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeout
The maximum time, in seconds, to keep the existing connections open before deregistering the instances.
- Parameters:
timeout
- The maximum time, in seconds, to keep the existing connections open before deregistering the instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-