Interface AwsWafv2RulesActionCaptchaDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AwsWafv2RulesActionCaptchaDetails.Builder,
,AwsWafv2RulesActionCaptchaDetails> SdkBuilder<AwsWafv2RulesActionCaptchaDetails.Builder,
,AwsWafv2RulesActionCaptchaDetails> SdkPojo
- Enclosing class:
AwsWafv2RulesActionCaptchaDetails
public static interface AwsWafv2RulesActionCaptchaDetails.Builder
extends SdkPojo, CopyableBuilder<AwsWafv2RulesActionCaptchaDetails.Builder,AwsWafv2RulesActionCaptchaDetails>
-
Method Summary
Modifier and TypeMethodDescriptioncustomRequestHandling
(Consumer<AwsWafv2CustomRequestHandlingDetails.Builder> customRequestHandling) Defines custom handling for the web request, used when the CAPTCHA inspection determines that the request's token is valid and unexpired.customRequestHandling
(AwsWafv2CustomRequestHandlingDetails customRequestHandling) Defines custom handling for the web request, used when the CAPTCHA inspection determines that the request's token is valid and unexpired.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
-
customRequestHandling
AwsWafv2RulesActionCaptchaDetails.Builder customRequestHandling(AwsWafv2CustomRequestHandlingDetails customRequestHandling) Defines custom handling for the web request, used when the CAPTCHA inspection determines that the request's token is valid and unexpired. For more information, see Customizing web requests and responses in WAF in the WAF Developer Guide..
- Parameters:
customRequestHandling
- Defines custom handling for the web request, used when the CAPTCHA inspection determines that the request's token is valid and unexpired. For more information, see Customizing web requests and responses in WAF in the WAF Developer Guide..- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customRequestHandling
default AwsWafv2RulesActionCaptchaDetails.Builder customRequestHandling(Consumer<AwsWafv2CustomRequestHandlingDetails.Builder> customRequestHandling) Defines custom handling for the web request, used when the CAPTCHA inspection determines that the request's token is valid and unexpired. For more information, see Customizing web requests and responses in WAF in the WAF Developer Guide..
This is a convenience method that creates an instance of theAwsWafv2CustomRequestHandlingDetails.Builder
avoiding the need to create one manually viaAwsWafv2CustomRequestHandlingDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocustomRequestHandling(AwsWafv2CustomRequestHandlingDetails)
.- Parameters:
customRequestHandling
- a consumer that will call methods onAwsWafv2CustomRequestHandlingDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-