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