public static final class CfnLayer.ShutdownEventConfigurationProperty.Builder
extends java.lang.Object
CfnLayer.ShutdownEventConfigurationProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnLayer.ShutdownEventConfigurationProperty |
build()
Builds the configured instance.
|
CfnLayer.ShutdownEventConfigurationProperty.Builder |
delayUntilElbConnectionsDrained(java.lang.Boolean delayUntilElbConnectionsDrained)
|
CfnLayer.ShutdownEventConfigurationProperty.Builder |
delayUntilElbConnectionsDrained(IResolvable delayUntilElbConnectionsDrained)
|
CfnLayer.ShutdownEventConfigurationProperty.Builder |
executionTimeout(java.lang.Number executionTimeout)
Sets the value of
CfnLayer.ShutdownEventConfigurationProperty.getExecutionTimeout() |
public CfnLayer.ShutdownEventConfigurationProperty.Builder delayUntilElbConnectionsDrained(java.lang.Boolean delayUntilElbConnectionsDrained)
delayUntilElbConnectionsDrained
- Whether to enable Elastic Load Balancing connection draining.
For more information, see Connection Drainingthis
public CfnLayer.ShutdownEventConfigurationProperty.Builder delayUntilElbConnectionsDrained(IResolvable delayUntilElbConnectionsDrained)
delayUntilElbConnectionsDrained
- Whether to enable Elastic Load Balancing connection draining.
For more information, see Connection Drainingthis
public CfnLayer.ShutdownEventConfigurationProperty.Builder executionTimeout(java.lang.Number executionTimeout)
CfnLayer.ShutdownEventConfigurationProperty.getExecutionTimeout()
executionTimeout
- The time, in seconds, that AWS OpsWorks Stacks waits after triggering a Shutdown event before shutting down an instance.this
public CfnLayer.ShutdownEventConfigurationProperty build()
CfnLayer.ShutdownEventConfigurationProperty
java.lang.NullPointerException
- if any required attribute was not provided