Class CfnWebACL.CaptchaActionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.wafv2.CfnWebACL.CaptchaActionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWebACL.CaptchaActionProperty>
- Enclosing interface:
CfnWebACL.CaptchaActionProperty
@Stability(Stable)
public static final class CfnWebACL.CaptchaActionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWebACL.CaptchaActionProperty>
A builder for
CfnWebACL.CaptchaActionProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.customRequestHandling
(IResolvable customRequestHandling) Sets the value ofCfnWebACL.CaptchaActionProperty.getCustomRequestHandling()
customRequestHandling
(CfnWebACL.CustomRequestHandlingProperty customRequestHandling) Sets the value ofCfnWebACL.CaptchaActionProperty.getCustomRequestHandling()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
customRequestHandling
@Stability(Stable) public CfnWebACL.CaptchaActionProperty.Builder customRequestHandling(IResolvable customRequestHandling) Sets the value ofCfnWebACL.CaptchaActionProperty.getCustomRequestHandling()
- Parameters:
customRequestHandling
- Defines custom handling for the web request, used when theCAPTCHA
inspection determines that the request's token is valid and unexpired. For information about customizing web requests and responses, see Customizing web requests and responses in AWS WAF in the AWS WAF Developer Guide .- Returns:
this
-
customRequestHandling
@Stability(Stable) public CfnWebACL.CaptchaActionProperty.Builder customRequestHandling(CfnWebACL.CustomRequestHandlingProperty customRequestHandling) Sets the value ofCfnWebACL.CaptchaActionProperty.getCustomRequestHandling()
- Parameters:
customRequestHandling
- Defines custom handling for the web request, used when theCAPTCHA
inspection determines that the request's token is valid and unexpired. For information about customizing web requests and responses, see Customizing web requests and responses in AWS WAF in the AWS WAF Developer Guide .- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnWebACL.CaptchaActionProperty>
- Returns:
- a new instance of
CfnWebACL.CaptchaActionProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-