Class CfnGuardHookPropsMixin.StackNamesProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.cloudformation.CfnGuardHookPropsMixin.StackNamesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGuardHookPropsMixin.StackNamesProperty>
- Enclosing interface:
CfnGuardHookPropsMixin.StackNamesProperty
@Stability(Stable)
public static final class CfnGuardHookPropsMixin.StackNamesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGuardHookPropsMixin.StackNamesProperty>
A builder for
CfnGuardHookPropsMixin.StackNamesProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnGuardHookPropsMixin.StackNamesProperty.getExclude()Sets the value ofCfnGuardHookPropsMixin.StackNamesProperty.getInclude()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
exclude
@Stability(Stable) public CfnGuardHookPropsMixin.StackNamesProperty.Builder exclude(List<String> exclude) Sets the value ofCfnGuardHookPropsMixin.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 CfnGuardHookPropsMixin.StackNamesProperty.Builder include(List<String> include) Sets the value ofCfnGuardHookPropsMixin.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<CfnGuardHookPropsMixin.StackNamesProperty>- Returns:
- a new instance of
CfnGuardHookPropsMixin.StackNamesProperty - Throws:
NullPointerException- if any required attribute was not provided
-