Class CfnWebACL.ClientSideActionConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.wafv2.CfnWebACL.ClientSideActionConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWebACL.ClientSideActionConfigProperty>
- Enclosing interface:
CfnWebACL.ClientSideActionConfigProperty
@Stability(Stable)
public static final class CfnWebACL.ClientSideActionConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWebACL.ClientSideActionConfigProperty>
A builder for
CfnWebACL.ClientSideActionConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.challenge(IResolvable challenge) Sets the value ofCfnWebACL.ClientSideActionConfigProperty.getChallenge()challenge(CfnWebACL.ClientSideActionProperty challenge) Sets the value ofCfnWebACL.ClientSideActionConfigProperty.getChallenge()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
challenge
@Stability(Stable) public CfnWebACL.ClientSideActionConfigProperty.Builder challenge(IResolvable challenge) Sets the value ofCfnWebACL.ClientSideActionConfigProperty.getChallenge()- Parameters:
challenge- Configuration for the use of theAWSManagedRulesAntiDDoSRuleSetrulesChallengeAllDuringEventandChallengeDDoSRequests. This parameter is required.This setting isn't related to the configuration of the
Challengeaction itself. It only configures the use of the two anti-DDoS rules named here.You can enable or disable the use of these rules, and you can configure how to use them when they are enabled.
- Returns:
this
-
challenge
@Stability(Stable) public CfnWebACL.ClientSideActionConfigProperty.Builder challenge(CfnWebACL.ClientSideActionProperty challenge) Sets the value ofCfnWebACL.ClientSideActionConfigProperty.getChallenge()- Parameters:
challenge- Configuration for the use of theAWSManagedRulesAntiDDoSRuleSetrulesChallengeAllDuringEventandChallengeDDoSRequests. This parameter is required.This setting isn't related to the configuration of the
Challengeaction itself. It only configures the use of the two anti-DDoS rules named here.You can enable or disable the use of these rules, and you can configure how to use them when they are enabled.
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWebACL.ClientSideActionConfigProperty>- Returns:
- a new instance of
CfnWebACL.ClientSideActionConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-