Interface AwsWafv2WebAclCaptchaConfigDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AwsWafv2WebAclCaptchaConfigDetails.Builder,
,AwsWafv2WebAclCaptchaConfigDetails> SdkBuilder<AwsWafv2WebAclCaptchaConfigDetails.Builder,
,AwsWafv2WebAclCaptchaConfigDetails> SdkPojo
- Enclosing class:
AwsWafv2WebAclCaptchaConfigDetails
public static interface AwsWafv2WebAclCaptchaConfigDetails.Builder
extends SdkPojo, CopyableBuilder<AwsWafv2WebAclCaptchaConfigDetails.Builder,AwsWafv2WebAclCaptchaConfigDetails>
-
Method Summary
Modifier and TypeMethodDescriptionimmunityTimeProperty
(Consumer<AwsWafv2WebAclCaptchaConfigImmunityTimePropertyDetails.Builder> immunityTimeProperty) Determines how long a CAPTCHA timestamp in the token remains valid after the client successfully solves a CAPTCHA puzzle.immunityTimeProperty
(AwsWafv2WebAclCaptchaConfigImmunityTimePropertyDetails immunityTimeProperty) Determines how long a CAPTCHA timestamp in the token remains valid after the client successfully solves a CAPTCHA puzzle.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
immunityTimeProperty
AwsWafv2WebAclCaptchaConfigDetails.Builder immunityTimeProperty(AwsWafv2WebAclCaptchaConfigImmunityTimePropertyDetails immunityTimeProperty) Determines how long a CAPTCHA timestamp in the token remains valid after the client successfully solves a CAPTCHA puzzle.
- Parameters:
immunityTimeProperty
- Determines how long a CAPTCHA timestamp in the token remains valid after the client successfully solves a CAPTCHA puzzle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
immunityTimeProperty
default AwsWafv2WebAclCaptchaConfigDetails.Builder immunityTimeProperty(Consumer<AwsWafv2WebAclCaptchaConfigImmunityTimePropertyDetails.Builder> immunityTimeProperty) Determines how long a CAPTCHA timestamp in the token remains valid after the client successfully solves a CAPTCHA puzzle.
This is a convenience method that creates an instance of theAwsWafv2WebAclCaptchaConfigImmunityTimePropertyDetails.Builder
avoiding the need to create one manually viaAwsWafv2WebAclCaptchaConfigImmunityTimePropertyDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toimmunityTimeProperty(AwsWafv2WebAclCaptchaConfigImmunityTimePropertyDetails)
.- Parameters:
immunityTimeProperty
- a consumer that will call methods onAwsWafv2WebAclCaptchaConfigImmunityTimePropertyDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-