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