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