Struct aws_sdk_wafv2::types::builders::CountActionBuilder
source · #[non_exhaustive]pub struct CountActionBuilder { /* private fields */ }
Expand description
A builder for CountAction
.
Implementations§
source§impl CountActionBuilder
impl CountActionBuilder
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.
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.
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.
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) -> CountAction
pub fn build(self) -> CountAction
Consumes the builder and constructs a CountAction
.
Trait Implementations§
source§impl Clone for CountActionBuilder
impl Clone for CountActionBuilder
source§fn clone(&self) -> CountActionBuilder
fn clone(&self) -> CountActionBuilder
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 CountActionBuilder
impl Debug for CountActionBuilder
source§impl Default for CountActionBuilder
impl Default for CountActionBuilder
source§fn default() -> CountActionBuilder
fn default() -> CountActionBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CountActionBuilder
impl PartialEq for CountActionBuilder
source§fn eq(&self, other: &CountActionBuilder) -> bool
fn eq(&self, other: &CountActionBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CountActionBuilder
Auto Trait Implementations§
impl Freeze for CountActionBuilder
impl RefUnwindSafe for CountActionBuilder
impl Send for CountActionBuilder
impl Sync for CountActionBuilder
impl Unpin for CountActionBuilder
impl UnwindSafe for CountActionBuilder
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.