Class CfnWebACLPropsMixin.ChallengeActionProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.wafv2.CfnWebACLPropsMixin.ChallengeActionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWebACLPropsMixin.ChallengeActionProperty>
- Enclosing interface:
CfnWebACLPropsMixin.ChallengeActionProperty
@Stability(Stable)
public static final class CfnWebACLPropsMixin.ChallengeActionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWebACLPropsMixin.ChallengeActionProperty>
A builder for
CfnWebACLPropsMixin.ChallengeActionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.customRequestHandling(CfnWebACLPropsMixin.CustomRequestHandlingProperty customRequestHandling) Sets the value ofCfnWebACLPropsMixin.ChallengeActionProperty.getCustomRequestHandling()customRequestHandling(IResolvable customRequestHandling) Sets the value ofCfnWebACLPropsMixin.ChallengeActionProperty.getCustomRequestHandling()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
customRequestHandling
@Stability(Stable) public CfnWebACLPropsMixin.ChallengeActionProperty.Builder customRequestHandling(IResolvable customRequestHandling) Sets the value ofCfnWebACLPropsMixin.ChallengeActionProperty.getCustomRequestHandling()- Parameters:
customRequestHandling- Defines custom handling for the web request, used when the challenge 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 CfnWebACLPropsMixin.ChallengeActionProperty.Builder customRequestHandling(CfnWebACLPropsMixin.CustomRequestHandlingProperty customRequestHandling) Sets the value ofCfnWebACLPropsMixin.ChallengeActionProperty.getCustomRequestHandling()- Parameters:
customRequestHandling- Defines custom handling for the web request, used when the challenge 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:
buildin interfacesoftware.amazon.jsii.Builder<CfnWebACLPropsMixin.ChallengeActionProperty>- Returns:
- a new instance of
CfnWebACLPropsMixin.ChallengeActionProperty - Throws:
NullPointerException- if any required attribute was not provided
-