Class CfnRuleGroupPropsMixin.AndStatementProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.wafv2.CfnRuleGroupPropsMixin.AndStatementProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRuleGroupPropsMixin.AndStatementProperty>
- Enclosing interface:
CfnRuleGroupPropsMixin.AndStatementProperty
@Stability(Stable)
public static final class CfnRuleGroupPropsMixin.AndStatementProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRuleGroupPropsMixin.AndStatementProperty>
A builder for
CfnRuleGroupPropsMixin.AndStatementProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.statements(List<? extends Object> statements) Sets the value ofCfnRuleGroupPropsMixin.AndStatementProperty.getStatements()statements(IResolvable statements) Sets the value ofCfnRuleGroupPropsMixin.AndStatementProperty.getStatements()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
statements
@Stability(Stable) public CfnRuleGroupPropsMixin.AndStatementProperty.Builder statements(IResolvable statements) Sets the value ofCfnRuleGroupPropsMixin.AndStatementProperty.getStatements()- Parameters:
statements- The statements to combine with AND logic. You can use any statements that can be nested.- Returns:
this
-
statements
@Stability(Stable) public CfnRuleGroupPropsMixin.AndStatementProperty.Builder statements(List<? extends Object> statements) Sets the value ofCfnRuleGroupPropsMixin.AndStatementProperty.getStatements()- Parameters:
statements- The statements to combine with AND logic. You can use any statements that can be nested.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRuleGroupPropsMixin.AndStatementProperty>- Returns:
- a new instance of
CfnRuleGroupPropsMixin.AndStatementProperty - Throws:
NullPointerException- if any required attribute was not provided
-