Struct aws_sdk_wafv2::types::builders::Ja3FingerprintBuilder
source · #[non_exhaustive]pub struct Ja3FingerprintBuilder { /* private fields */ }
Expand description
A builder for Ja3Fingerprint
.
Implementations§
source§impl Ja3FingerprintBuilder
impl Ja3FingerprintBuilder
sourcepub fn fallback_behavior(self, input: FallbackBehavior) -> Self
pub fn fallback_behavior(self, input: FallbackBehavior) -> Self
The match status to assign to the web request if the request doesn't have a JA3 fingerprint.
You can specify the following fallback behaviors:
-
MATCH
- Treat the web request as matching the rule statement. WAF applies the rule action to the request. -
NO_MATCH
- Treat the web request as not matching the rule statement.
sourcepub fn set_fallback_behavior(self, input: Option<FallbackBehavior>) -> Self
pub fn set_fallback_behavior(self, input: Option<FallbackBehavior>) -> Self
The match status to assign to the web request if the request doesn't have a JA3 fingerprint.
You can specify the following fallback behaviors:
-
MATCH
- Treat the web request as matching the rule statement. WAF applies the rule action to the request. -
NO_MATCH
- Treat the web request as not matching the rule statement.
sourcepub fn get_fallback_behavior(&self) -> &Option<FallbackBehavior>
pub fn get_fallback_behavior(&self) -> &Option<FallbackBehavior>
The match status to assign to the web request if the request doesn't have a JA3 fingerprint.
You can specify the following fallback behaviors:
-
MATCH
- Treat the web request as matching the rule statement. WAF applies the rule action to the request. -
NO_MATCH
- Treat the web request as not matching the rule statement.
sourcepub fn build(self) -> Result<Ja3Fingerprint, BuildError>
pub fn build(self) -> Result<Ja3Fingerprint, BuildError>
Consumes the builder and constructs a Ja3Fingerprint
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for Ja3FingerprintBuilder
impl Clone for Ja3FingerprintBuilder
source§fn clone(&self) -> Ja3FingerprintBuilder
fn clone(&self) -> Ja3FingerprintBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for Ja3FingerprintBuilder
impl Debug for Ja3FingerprintBuilder
source§impl Default for Ja3FingerprintBuilder
impl Default for Ja3FingerprintBuilder
source§fn default() -> Ja3FingerprintBuilder
fn default() -> Ja3FingerprintBuilder
source§impl PartialEq for Ja3FingerprintBuilder
impl PartialEq for Ja3FingerprintBuilder
source§fn eq(&self, other: &Ja3FingerprintBuilder) -> bool
fn eq(&self, other: &Ja3FingerprintBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for Ja3FingerprintBuilder
Auto Trait Implementations§
impl Freeze for Ja3FingerprintBuilder
impl RefUnwindSafe for Ja3FingerprintBuilder
impl Send for Ja3FingerprintBuilder
impl Sync for Ja3FingerprintBuilder
impl Unpin for Ja3FingerprintBuilder
impl UnwindSafe for Ja3FingerprintBuilder
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