Package software.amazon.awscdk
Class CfnLambdaHook.StackFiltersProperty.Builder
java.lang.Object
software.amazon.awscdk.CfnLambdaHook.StackFiltersProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLambdaHook.StackFiltersProperty>
- Enclosing interface:
CfnLambdaHook.StackFiltersProperty
@Stability(Stable)
public static final class CfnLambdaHook.StackFiltersProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLambdaHook.StackFiltersProperty>
A builder for
CfnLambdaHook.StackFiltersProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.filteringCriteria(String filteringCriteria) Sets the value ofCfnLambdaHook.StackFiltersProperty.getFilteringCriteria()stackNames(CfnLambdaHook.StackNamesProperty stackNames) Sets the value ofCfnLambdaHook.StackFiltersProperty.getStackNames()stackNames(IResolvable stackNames) Sets the value ofCfnLambdaHook.StackFiltersProperty.getStackNames()stackRoles(CfnLambdaHook.StackRolesProperty stackRoles) Sets the value ofCfnLambdaHook.StackFiltersProperty.getStackRoles()stackRoles(IResolvable stackRoles) Sets the value ofCfnLambdaHook.StackFiltersProperty.getStackRoles()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
filteringCriteria
@Stability(Stable) public CfnLambdaHook.StackFiltersProperty.Builder filteringCriteria(String filteringCriteria) Sets the value ofCfnLambdaHook.StackFiltersProperty.getFilteringCriteria()- Parameters:
filteringCriteria- Attribute to specify the filtering behavior. This parameter is required. ANY will make the Hook pass if one filter matches. ALL will make the Hook pass if all filters match- Returns:
this
-
stackNames
@Stability(Stable) public CfnLambdaHook.StackFiltersProperty.Builder stackNames(IResolvable stackNames) Sets the value ofCfnLambdaHook.StackFiltersProperty.getStackNames()- Parameters:
stackNames- List of stack names as filters.- Returns:
this
-
stackNames
@Stability(Stable) public CfnLambdaHook.StackFiltersProperty.Builder stackNames(CfnLambdaHook.StackNamesProperty stackNames) Sets the value ofCfnLambdaHook.StackFiltersProperty.getStackNames()- Parameters:
stackNames- List of stack names as filters.- Returns:
this
-
stackRoles
@Stability(Stable) public CfnLambdaHook.StackFiltersProperty.Builder stackRoles(IResolvable stackRoles) Sets the value ofCfnLambdaHook.StackFiltersProperty.getStackRoles()- Parameters:
stackRoles- List of stack roles that are performing the stack operations.- Returns:
this
-
stackRoles
@Stability(Stable) public CfnLambdaHook.StackFiltersProperty.Builder stackRoles(CfnLambdaHook.StackRolesProperty stackRoles) Sets the value ofCfnLambdaHook.StackFiltersProperty.getStackRoles()- Parameters:
stackRoles- List of stack roles that are performing the stack operations.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLambdaHook.StackFiltersProperty>- Returns:
- a new instance of
CfnLambdaHook.StackFiltersProperty - Throws:
NullPointerException- if any required attribute was not provided
-