@Stability(value=Stable) public static final class CfnWebACL.DefaultActionProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnWebACL.DefaultActionProperty>
CfnWebACL.DefaultActionProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnWebACL.DefaultActionProperty.Builder |
allow(CfnWebACL.AllowActionProperty allow)
Sets the value of
CfnWebACL.DefaultActionProperty.getAllow() |
CfnWebACL.DefaultActionProperty.Builder |
allow(IResolvable allow)
Sets the value of
CfnWebACL.DefaultActionProperty.getAllow() |
CfnWebACL.DefaultActionProperty.Builder |
block(CfnWebACL.BlockActionProperty block)
Sets the value of
CfnWebACL.DefaultActionProperty.getBlock() |
CfnWebACL.DefaultActionProperty.Builder |
block(IResolvable block)
Sets the value of
CfnWebACL.DefaultActionProperty.getBlock() |
CfnWebACL.DefaultActionProperty |
build()
Builds the configured instance.
|
@Stability(value=Stable) public CfnWebACL.DefaultActionProperty.Builder allow(CfnWebACL.AllowActionProperty allow)
CfnWebACL.DefaultActionProperty.getAllow()allow - Specifies that AWS WAF should allow requests by default.this@Stability(value=Stable) public CfnWebACL.DefaultActionProperty.Builder allow(IResolvable allow)
CfnWebACL.DefaultActionProperty.getAllow()allow - Specifies that AWS WAF should allow requests by default.this@Stability(value=Stable) public CfnWebACL.DefaultActionProperty.Builder block(CfnWebACL.BlockActionProperty block)
CfnWebACL.DefaultActionProperty.getBlock()block - Specifies that AWS WAF should block requests by default.this@Stability(value=Stable) public CfnWebACL.DefaultActionProperty.Builder block(IResolvable block)
CfnWebACL.DefaultActionProperty.getBlock()block - Specifies that AWS WAF should block requests by default.this@Stability(value=Stable) public CfnWebACL.DefaultActionProperty build()
build in interface software.amazon.jsii.Builder<CfnWebACL.DefaultActionProperty>CfnWebACL.DefaultActionPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.