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