Class CfnLambdaHookPropsMixin.StackNamesProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.cloudformation.CfnLambdaHookPropsMixin.StackNamesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLambdaHookPropsMixin.StackNamesProperty>
- Enclosing interface:
CfnLambdaHookPropsMixin.StackNamesProperty
@Stability(Stable)
public static final class CfnLambdaHookPropsMixin.StackNamesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLambdaHookPropsMixin.StackNamesProperty>
A builder for
CfnLambdaHookPropsMixin.StackNamesProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnLambdaHookPropsMixin.StackNamesProperty.getExclude()Sets the value ofCfnLambdaHookPropsMixin.StackNamesProperty.getInclude()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
exclude
@Stability(Stable) public CfnLambdaHookPropsMixin.StackNamesProperty.Builder exclude(List<String> exclude) Sets the value ofCfnLambdaHookPropsMixin.StackNamesProperty.getExclude()- Parameters:
exclude- The stack names to exclude. All stacks except those listed here will invoke the Hook.- Returns:
this
-
include
@Stability(Stable) public CfnLambdaHookPropsMixin.StackNamesProperty.Builder include(List<String> include) Sets the value ofCfnLambdaHookPropsMixin.StackNamesProperty.getInclude()- Parameters:
include- The stack names to include. Only the stacks specified in this list will invoke the Hook.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLambdaHookPropsMixin.StackNamesProperty>- Returns:
- a new instance of
CfnLambdaHookPropsMixin.StackNamesProperty - Throws:
NullPointerException- if any required attribute was not provided
-