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