Class CfnRuleGroupPropsMixin.ImmunityTimePropertyProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.wafv2.CfnRuleGroupPropsMixin.ImmunityTimePropertyProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRuleGroupPropsMixin.ImmunityTimePropertyProperty>
- Enclosing interface:
CfnRuleGroupPropsMixin.ImmunityTimePropertyProperty
@Stability(Stable)
public static final class CfnRuleGroupPropsMixin.ImmunityTimePropertyProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRuleGroupPropsMixin.ImmunityTimePropertyProperty>
A builder for
CfnRuleGroupPropsMixin.ImmunityTimePropertyProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.immunityTime(Number immunityTime) Sets the value ofCfnRuleGroupPropsMixin.ImmunityTimePropertyProperty.getImmunityTime()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
immunityTime
@Stability(Stable) public CfnRuleGroupPropsMixin.ImmunityTimePropertyProperty.Builder immunityTime(Number immunityTime) Sets the value ofCfnRuleGroupPropsMixin.ImmunityTimePropertyProperty.getImmunityTime()- Parameters:
immunityTime- The amount of time, in seconds, that aCAPTCHAor challenge timestamp is considered valid by AWS WAF . The default setting is 300.For the Challenge action, the minimum setting is 300.
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRuleGroupPropsMixin.ImmunityTimePropertyProperty>- Returns:
- a new instance of
CfnRuleGroupPropsMixin.ImmunityTimePropertyProperty - Throws:
NullPointerException- if any required attribute was not provided
-