Struct aws_sdk_wafv2::types::builders::CaptchaConfigBuilder
source · #[non_exhaustive]pub struct CaptchaConfigBuilder { /* private fields */ }
Expand description
A builder for CaptchaConfig
.
Implementations§
source§impl CaptchaConfigBuilder
impl CaptchaConfigBuilder
sourcepub fn immunity_time_property(self, input: ImmunityTimeProperty) -> Self
pub fn immunity_time_property(self, input: ImmunityTimeProperty) -> Self
Determines how long a CAPTCHA
timestamp in the token remains valid after the client successfully solves a CAPTCHA
puzzle.
sourcepub fn set_immunity_time_property(
self,
input: Option<ImmunityTimeProperty>
) -> Self
pub fn set_immunity_time_property( self, input: Option<ImmunityTimeProperty> ) -> Self
Determines how long a CAPTCHA
timestamp in the token remains valid after the client successfully solves a CAPTCHA
puzzle.
sourcepub fn get_immunity_time_property(&self) -> &Option<ImmunityTimeProperty>
pub fn get_immunity_time_property(&self) -> &Option<ImmunityTimeProperty>
Determines how long a CAPTCHA
timestamp in the token remains valid after the client successfully solves a CAPTCHA
puzzle.
sourcepub fn build(self) -> CaptchaConfig
pub fn build(self) -> CaptchaConfig
Consumes the builder and constructs a CaptchaConfig
.
Trait Implementations§
source§impl Clone for CaptchaConfigBuilder
impl Clone for CaptchaConfigBuilder
source§fn clone(&self) -> CaptchaConfigBuilder
fn clone(&self) -> CaptchaConfigBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CaptchaConfigBuilder
impl Debug for CaptchaConfigBuilder
source§impl Default for CaptchaConfigBuilder
impl Default for CaptchaConfigBuilder
source§fn default() -> CaptchaConfigBuilder
fn default() -> CaptchaConfigBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CaptchaConfigBuilder
impl PartialEq for CaptchaConfigBuilder
source§fn eq(&self, other: &CaptchaConfigBuilder) -> bool
fn eq(&self, other: &CaptchaConfigBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CaptchaConfigBuilder
Auto Trait Implementations§
impl Freeze for CaptchaConfigBuilder
impl RefUnwindSafe for CaptchaConfigBuilder
impl Send for CaptchaConfigBuilder
impl Sync for CaptchaConfigBuilder
impl Unpin for CaptchaConfigBuilder
impl UnwindSafe for CaptchaConfigBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.