public static interface CaptchaAction.Builder extends SdkPojo, CopyableBuilder<CaptchaAction.Builder,CaptchaAction>
| Modifier and Type | Method and Description |
|---|---|
default CaptchaAction.Builder |
customRequestHandling(Consumer<CustomRequestHandling.Builder> customRequestHandling)
Defines custom handling for the web request, used when the
CAPTCHA inspection determines that
the request's token is valid and unexpired. |
CaptchaAction.Builder |
customRequestHandling(CustomRequestHandling customRequestHandling)
Defines custom handling for the web request, used when the
CAPTCHA inspection determines that
the request's token is valid and unexpired. |
equalsBySdkFields, sdkFieldscopyapplyMutation, buildCaptchaAction.Builder customRequestHandling(CustomRequestHandling customRequestHandling)
Defines custom handling for the web request, used when the CAPTCHA inspection determines that
the request's token is valid and unexpired.
For information about customizing web requests and responses, see Customizing web requests and responses in WAF in the WAF Developer Guide.
customRequestHandling - Defines custom handling for the web request, used when the CAPTCHA inspection determines
that the request's token is valid and unexpired.
For information about customizing web requests and responses, see Customizing web requests and responses in WAF in the WAF Developer Guide.
default CaptchaAction.Builder customRequestHandling(Consumer<CustomRequestHandling.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 information about customizing web requests and responses, see Customizing web requests and responses in WAF in the WAF Developer Guide.
This is a convenience method that creates an instance of theCustomRequestHandling.Builder avoiding
the need to create one manually via CustomRequestHandling.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to customRequestHandling(CustomRequestHandling).
customRequestHandling - a consumer that will call methods on CustomRequestHandling.BuildercustomRequestHandling(CustomRequestHandling)Copyright © 2023. All rights reserved.