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 ==
.impl StructuralPartialEq for ChallengeActionBuilder
Auto Trait Implementations§
impl Freeze for ChallengeActionBuilder
impl RefUnwindSafe for ChallengeActionBuilder
impl Send for ChallengeActionBuilder
impl Sync for ChallengeActionBuilder
impl Unpin for ChallengeActionBuilder
impl UnwindSafe for ChallengeActionBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more