Class CfnWebACL.CaptchaConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.wafv2.CfnWebACL.CaptchaConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWebACL.CaptchaConfigProperty>
- Enclosing interface:
CfnWebACL.CaptchaConfigProperty
@Stability(Stable)
public static final class CfnWebACL.CaptchaConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWebACL.CaptchaConfigProperty>
A builder for
CfnWebACL.CaptchaConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.immunityTimeProperty(IResolvable immunityTimeProperty) Sets the value ofCfnWebACL.CaptchaConfigProperty.getImmunityTimeProperty()immunityTimeProperty(CfnWebACL.ImmunityTimePropertyProperty immunityTimeProperty) Sets the value ofCfnWebACL.CaptchaConfigProperty.getImmunityTimeProperty()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
immunityTimeProperty
@Stability(Stable) public CfnWebACL.CaptchaConfigProperty.Builder immunityTimeProperty(IResolvable immunityTimeProperty) Sets the value ofCfnWebACL.CaptchaConfigProperty.getImmunityTimeProperty()- Parameters:
immunityTimeProperty- Determines how long aCAPTCHAtimestamp in the token remains valid after the client successfully solves aCAPTCHApuzzle.- Returns:
this
-
immunityTimeProperty
@Stability(Stable) public CfnWebACL.CaptchaConfigProperty.Builder immunityTimeProperty(CfnWebACL.ImmunityTimePropertyProperty immunityTimeProperty) Sets the value ofCfnWebACL.CaptchaConfigProperty.getImmunityTimeProperty()- Parameters:
immunityTimeProperty- Determines how long aCAPTCHAtimestamp in the token remains valid after the client successfully solves aCAPTCHApuzzle.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWebACL.CaptchaConfigProperty>- Returns:
- a new instance of
CfnWebACL.CaptchaConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-