Class CfnWebACL.ChallengeConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.wafv2.CfnWebACL.ChallengeConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWebACL.ChallengeConfigProperty>
- Enclosing interface:
- CfnWebACL.ChallengeConfigProperty
@Stability(Stable)
public static final class CfnWebACL.ChallengeConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWebACL.ChallengeConfigProperty>
A builder for
CfnWebACL.ChallengeConfigProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.immunityTimeProperty
(IResolvable immunityTimeProperty) Sets the value ofCfnWebACL.ChallengeConfigProperty.getImmunityTimeProperty()
immunityTimeProperty
(CfnWebACL.ImmunityTimePropertyProperty immunityTimeProperty) Sets the value ofCfnWebACL.ChallengeConfigProperty.getImmunityTimeProperty()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
immunityTimeProperty
@Stability(Stable) public CfnWebACL.ChallengeConfigProperty.Builder immunityTimeProperty(IResolvable immunityTimeProperty) Sets the value ofCfnWebACL.ChallengeConfigProperty.getImmunityTimeProperty()
- Parameters:
immunityTimeProperty
- Determines how long a challenge timestamp in the token remains valid after the client successfully responds to a challenge.- Returns:
this
-
immunityTimeProperty
@Stability(Stable) public CfnWebACL.ChallengeConfigProperty.Builder immunityTimeProperty(CfnWebACL.ImmunityTimePropertyProperty immunityTimeProperty) Sets the value ofCfnWebACL.ChallengeConfigProperty.getImmunityTimeProperty()
- Parameters:
immunityTimeProperty
- Determines how long a challenge timestamp in the token remains valid after the client successfully responds to a challenge.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnWebACL.ChallengeConfigProperty>
- Returns:
- a new instance of
CfnWebACL.ChallengeConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-