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