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 Summary
Modifier and TypeMethodDescriptiondelayUntilElbConnectionsDrained
(Boolean delayUntilElbConnectionsDrained) Whether to enable Elastic Load Balancing connection draining.executionTimeout
(Integer executionTimeout) The time, in seconds, that AWS OpsWorks Stacks will wait after triggering a Shutdown event before shutting down an instance.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
-
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.
-