Class CfnRuleGroup.AllowProperty.Builder
java.lang.Object
software.amazon.awscdk.services.wafv2.CfnRuleGroup.AllowProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRuleGroup.AllowProperty>
- Enclosing interface:
- CfnRuleGroup.AllowProperty
@Stability(Stable)
public static final class CfnRuleGroup.AllowProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRuleGroup.AllowProperty>
A builder for
CfnRuleGroup.AllowProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.customRequestHandling
(IResolvable customRequestHandling) Sets the value ofCfnRuleGroup.AllowProperty.getCustomRequestHandling()
customRequestHandling
(CfnRuleGroup.CustomRequestHandlingProperty customRequestHandling) Sets the value ofCfnRuleGroup.AllowProperty.getCustomRequestHandling()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
customRequestHandling
@Stability(Stable) public CfnRuleGroup.AllowProperty.Builder customRequestHandling(IResolvable customRequestHandling) Sets the value ofCfnRuleGroup.AllowProperty.getCustomRequestHandling()
- Parameters:
customRequestHandling
-CfnRuleGroup.AllowProperty.CustomRequestHandling
.- Returns:
this
-
customRequestHandling
@Stability(Stable) public CfnRuleGroup.AllowProperty.Builder customRequestHandling(CfnRuleGroup.CustomRequestHandlingProperty customRequestHandling) Sets the value ofCfnRuleGroup.AllowProperty.getCustomRequestHandling()
- Parameters:
customRequestHandling
-CfnRuleGroup.AllowProperty.CustomRequestHandling
.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnRuleGroup.AllowProperty>
- Returns:
- a new instance of
CfnRuleGroup.AllowProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-