Class CfnLayer.LifecycleEventConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.opsworks.CfnLayer.LifecycleEventConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLayer.LifecycleEventConfigurationProperty>
- Enclosing interface:
CfnLayer.LifecycleEventConfigurationProperty
@Stability(Stable)
public static final class CfnLayer.LifecycleEventConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLayer.LifecycleEventConfigurationProperty>
A builder for
CfnLayer.LifecycleEventConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.shutdownEventConfiguration
(IResolvable shutdownEventConfiguration) shutdownEventConfiguration
(CfnLayer.ShutdownEventConfigurationProperty shutdownEventConfiguration)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
shutdownEventConfiguration
@Stability(Stable) public CfnLayer.LifecycleEventConfigurationProperty.Builder shutdownEventConfiguration(IResolvable shutdownEventConfiguration) - Parameters:
shutdownEventConfiguration
- The Shutdown event configuration.- Returns:
this
-
shutdownEventConfiguration
@Stability(Stable) public CfnLayer.LifecycleEventConfigurationProperty.Builder shutdownEventConfiguration(CfnLayer.ShutdownEventConfigurationProperty shutdownEventConfiguration) - Parameters:
shutdownEventConfiguration
- The Shutdown event configuration.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnLayer.LifecycleEventConfigurationProperty>
- Returns:
- a new instance of
CfnLayer.LifecycleEventConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-