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