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