Class CfnWebACLPropsMixin.ClientSideActionConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.wafv2.CfnWebACLPropsMixin.ClientSideActionConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWebACLPropsMixin.ClientSideActionConfigProperty>
- Enclosing interface:
CfnWebACLPropsMixin.ClientSideActionConfigProperty
@Stability(Stable)
public static final class CfnWebACLPropsMixin.ClientSideActionConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWebACLPropsMixin.ClientSideActionConfigProperty>
A builder for
CfnWebACLPropsMixin.ClientSideActionConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnWebACLPropsMixin.ClientSideActionConfigProperty.getChallenge()challenge(IResolvable challenge) Sets the value ofCfnWebACLPropsMixin.ClientSideActionConfigProperty.getChallenge()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
challenge
@Stability(Stable) public CfnWebACLPropsMixin.ClientSideActionConfigProperty.Builder challenge(IResolvable challenge) Sets the value ofCfnWebACLPropsMixin.ClientSideActionConfigProperty.getChallenge()- Parameters:
challenge- Configuration for the use of theAWSManagedRulesAntiDDoSRuleSetrulesChallengeAllDuringEventandChallengeDDoSRequests.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 CfnWebACLPropsMixin.ClientSideActionConfigProperty.Builder challenge(CfnWebACLPropsMixin.ClientSideActionProperty challenge) Sets the value ofCfnWebACLPropsMixin.ClientSideActionConfigProperty.getChallenge()- Parameters:
challenge- Configuration for the use of theAWSManagedRulesAntiDDoSRuleSetrulesChallengeAllDuringEventandChallengeDDoSRequests.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<CfnWebACLPropsMixin.ClientSideActionConfigProperty>- Returns:
- a new instance of
CfnWebACLPropsMixin.ClientSideActionConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-