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