public static interface LifecycleEventConfiguration.Builder extends CopyableBuilder<LifecycleEventConfiguration.Builder,LifecycleEventConfiguration>
Modifier and Type | Method and Description |
---|---|
default LifecycleEventConfiguration.Builder |
shutdown(Consumer<ShutdownEventConfiguration.Builder> shutdown)
A
ShutdownEventConfiguration object that specifies the Shutdown event configuration. |
LifecycleEventConfiguration.Builder |
shutdown(ShutdownEventConfiguration shutdown)
A
ShutdownEventConfiguration object that specifies the Shutdown event configuration. |
copy
apply, build
LifecycleEventConfiguration.Builder shutdown(ShutdownEventConfiguration shutdown)
A ShutdownEventConfiguration
object that specifies the Shutdown event configuration.
shutdown
- A ShutdownEventConfiguration
object that specifies the Shutdown event configuration.default LifecycleEventConfiguration.Builder shutdown(Consumer<ShutdownEventConfiguration.Builder> shutdown)
A ShutdownEventConfiguration
object that specifies the Shutdown event configuration.
ShutdownEventConfiguration.Builder
avoiding the
need to create one manually via ShutdownEventConfiguration.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to shutdown(ShutdownEventConfiguration)
.shutdown
- a consumer that will call methods on ShutdownEventConfiguration.Builder
shutdown(ShutdownEventConfiguration)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.