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 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.