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