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