Class CfnWebACL.OrStatementProperty.Builder
java.lang.Object
software.amazon.awscdk.services.wafv2.CfnWebACL.OrStatementProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWebACL.OrStatementProperty>
- Enclosing interface:
CfnWebACL.OrStatementProperty
@Stability(Stable)
public static final class CfnWebACL.OrStatementProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWebACL.OrStatementProperty>
A builder for
CfnWebACL.OrStatementProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.statements
(List<? extends Object> statements) Sets the value ofCfnWebACL.OrStatementProperty.getStatements()
statements
(IResolvable statements) Sets the value ofCfnWebACL.OrStatementProperty.getStatements()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
statements
Sets the value ofCfnWebACL.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 CfnWebACL.OrStatementProperty.Builder statements(List<? extends Object> statements) Sets the value ofCfnWebACL.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:
build
in interfacesoftware.amazon.jsii.Builder<CfnWebACL.OrStatementProperty>
- Returns:
- a new instance of
CfnWebACL.OrStatementProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-