#[non_exhaustive]pub struct AwsWafv2ActionAllowDetailsBuilder { /* private fields */ }Expand description
A builder for AwsWafv2ActionAllowDetails.
Implementations§
source§impl AwsWafv2ActionAllowDetailsBuilder
impl AwsWafv2ActionAllowDetailsBuilder
sourcepub fn custom_request_handling(
self,
input: AwsWafv2CustomRequestHandlingDetails
) -> Self
pub fn custom_request_handling( self, input: AwsWafv2CustomRequestHandlingDetails ) -> 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<AwsWafv2CustomRequestHandlingDetails>
) -> Self
pub fn set_custom_request_handling( self, input: Option<AwsWafv2CustomRequestHandlingDetails> ) -> 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<AwsWafv2CustomRequestHandlingDetails>
pub fn get_custom_request_handling( &self ) -> &Option<AwsWafv2CustomRequestHandlingDetails>
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) -> AwsWafv2ActionAllowDetails
pub fn build(self) -> AwsWafv2ActionAllowDetails
Consumes the builder and constructs a AwsWafv2ActionAllowDetails.
Trait Implementations§
source§impl Clone for AwsWafv2ActionAllowDetailsBuilder
impl Clone for AwsWafv2ActionAllowDetailsBuilder
source§fn clone(&self) -> AwsWafv2ActionAllowDetailsBuilder
fn clone(&self) -> AwsWafv2ActionAllowDetailsBuilder
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 Default for AwsWafv2ActionAllowDetailsBuilder
impl Default for AwsWafv2ActionAllowDetailsBuilder
source§fn default() -> AwsWafv2ActionAllowDetailsBuilder
fn default() -> AwsWafv2ActionAllowDetailsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AwsWafv2ActionAllowDetailsBuilder
impl PartialEq for AwsWafv2ActionAllowDetailsBuilder
source§fn eq(&self, other: &AwsWafv2ActionAllowDetailsBuilder) -> bool
fn eq(&self, other: &AwsWafv2ActionAllowDetailsBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AwsWafv2ActionAllowDetailsBuilder
Auto Trait Implementations§
impl RefUnwindSafe for AwsWafv2ActionAllowDetailsBuilder
impl Send for AwsWafv2ActionAllowDetailsBuilder
impl Sync for AwsWafv2ActionAllowDetailsBuilder
impl Unpin for AwsWafv2ActionAllowDetailsBuilder
impl UnwindSafe for AwsWafv2ActionAllowDetailsBuilder
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>
Creates a shared type from an unshared type.