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