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