Struct aws_sdk_wafv2::types::builders::CaptchaActionBuilder
source · #[non_exhaustive]pub struct CaptchaActionBuilder { /* private fields */ }
Expand description
A builder for CaptchaAction
.
Implementations§
source§impl CaptchaActionBuilder
impl CaptchaActionBuilder
sourcepub fn custom_request_handling(self, input: CustomRequestHandling) -> Self
pub fn custom_request_handling(self, input: CustomRequestHandling) -> Self
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.
sourcepub fn set_custom_request_handling(
self,
input: Option<CustomRequestHandling>
) -> Self
pub fn set_custom_request_handling( self, input: Option<CustomRequestHandling> ) -> Self
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.
sourcepub fn get_custom_request_handling(&self) -> &Option<CustomRequestHandling>
pub fn get_custom_request_handling(&self) -> &Option<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.
sourcepub fn build(self) -> CaptchaAction
pub fn build(self) -> CaptchaAction
Consumes the builder and constructs a CaptchaAction
.
Trait Implementations§
source§impl Clone for CaptchaActionBuilder
impl Clone for CaptchaActionBuilder
source§fn clone(&self) -> CaptchaActionBuilder
fn clone(&self) -> CaptchaActionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CaptchaActionBuilder
impl Debug for CaptchaActionBuilder
source§impl Default for CaptchaActionBuilder
impl Default for CaptchaActionBuilder
source§fn default() -> CaptchaActionBuilder
fn default() -> CaptchaActionBuilder
source§impl PartialEq for CaptchaActionBuilder
impl PartialEq for CaptchaActionBuilder
source§fn eq(&self, other: &CaptchaActionBuilder) -> bool
fn eq(&self, other: &CaptchaActionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.