Class CfnWebACL.ImmunityTimePropertyProperty.Builder
java.lang.Object
software.amazon.awscdk.services.wafv2.CfnWebACL.ImmunityTimePropertyProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWebACL.ImmunityTimePropertyProperty>
- Enclosing interface:
CfnWebACL.ImmunityTimePropertyProperty
@Stability(Stable)
public static final class CfnWebACL.ImmunityTimePropertyProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWebACL.ImmunityTimePropertyProperty>
A builder for
CfnWebACL.ImmunityTimePropertyProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.immunityTime(Number immunityTime) Sets the value ofCfnWebACL.ImmunityTimePropertyProperty.getImmunityTime()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
immunityTime
@Stability(Stable) public CfnWebACL.ImmunityTimePropertyProperty.Builder immunityTime(Number immunityTime) Sets the value ofCfnWebACL.ImmunityTimePropertyProperty.getImmunityTime()- Parameters:
immunityTime- The amount of time, in seconds, that aCAPTCHAor 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:
buildin interfacesoftware.amazon.jsii.Builder<CfnWebACL.ImmunityTimePropertyProperty>- Returns:
- a new instance of
CfnWebACL.ImmunityTimePropertyProperty - Throws:
NullPointerException- if any required attribute was not provided
-