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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConnectionDraining.Builder
enabled(Boolean enabled)
Specifies whether connection draining is enabled for the load balancer.ConnectionDraining.Builder
timeout(Integer timeout)
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 Detail
-
enabled
ConnectionDraining.Builder enabled(Boolean 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
ConnectionDraining.Builder timeout(Integer 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.
-
-