Interface ShutdownEventConfiguration.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ShutdownEventConfiguration.Builder,ShutdownEventConfiguration>, SdkBuilder<ShutdownEventConfiguration.Builder,ShutdownEventConfiguration>, SdkPojo
Enclosing class:
ShutdownEventConfiguration

public static interface ShutdownEventConfiguration.Builder extends SdkPojo, CopyableBuilder<ShutdownEventConfiguration.Builder,ShutdownEventConfiguration>
  • Method Details

    • executionTimeout

      ShutdownEventConfiguration.Builder executionTimeout(Integer executionTimeout)

      The time, in seconds, that AWS OpsWorks Stacks will wait after triggering a Shutdown event before shutting down an instance.

      Parameters:
      executionTimeout - The time, in seconds, that AWS OpsWorks Stacks will wait after triggering a Shutdown event before shutting down an instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • delayUntilElbConnectionsDrained

      ShutdownEventConfiguration.Builder delayUntilElbConnectionsDrained(Boolean delayUntilElbConnectionsDrained)

      Whether to enable Elastic Load Balancing connection draining. For more information, see Connection Draining

      Parameters:
      delayUntilElbConnectionsDrained - Whether to enable Elastic Load Balancing connection draining. For more information, see Connection Draining
      Returns:
      Returns a reference to this object so that method calls can be chained together.