Package software.amazon.awscdk
Class CfnLambdaHook.StackNamesProperty.Builder
java.lang.Object
software.amazon.awscdk.CfnLambdaHook.StackNamesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLambdaHook.StackNamesProperty>
- Enclosing interface:
CfnLambdaHook.StackNamesProperty
@Stability(Stable)
public static final class CfnLambdaHook.StackNamesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLambdaHook.StackNamesProperty>
A builder for
CfnLambdaHook.StackNamesProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnLambdaHook.StackNamesProperty.getExclude()Sets the value ofCfnLambdaHook.StackNamesProperty.getInclude()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
exclude
Sets the value ofCfnLambdaHook.StackNamesProperty.getExclude()- Parameters:
exclude- The stack names to exclude. All stacks except those listed here will invoke the Hook.- Returns:
this
-
include
Sets the value ofCfnLambdaHook.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<CfnLambdaHook.StackNamesProperty>- Returns:
- a new instance of
CfnLambdaHook.StackNamesProperty - Throws:
NullPointerException- if any required attribute was not provided
-