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