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