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