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