#[non_exhaustive]pub struct AwsWafv2ActionBlockDetailsBuilder { /* private fields */ }Expand description
A builder for AwsWafv2ActionBlockDetails.
Implementations§
source§impl AwsWafv2ActionBlockDetailsBuilder
impl AwsWafv2ActionBlockDetailsBuilder
sourcepub fn custom_response(self, input: AwsWafv2CustomResponseDetails) -> Self
pub fn custom_response(self, input: AwsWafv2CustomResponseDetails) -> Self
Defines a custom response for the web request. For information, see Customizing web requests and responses in WAF in the WAF Developer Guide..
sourcepub fn set_custom_response(
self,
input: Option<AwsWafv2CustomResponseDetails>
) -> Self
pub fn set_custom_response( self, input: Option<AwsWafv2CustomResponseDetails> ) -> Self
Defines a custom response for the web request. For information, see Customizing web requests and responses in WAF in the WAF Developer Guide..
sourcepub fn get_custom_response(&self) -> &Option<AwsWafv2CustomResponseDetails>
pub fn get_custom_response(&self) -> &Option<AwsWafv2CustomResponseDetails>
Defines a custom response for the web request. For information, see Customizing web requests and responses in WAF in the WAF Developer Guide..
sourcepub fn build(self) -> AwsWafv2ActionBlockDetails
pub fn build(self) -> AwsWafv2ActionBlockDetails
Consumes the builder and constructs a AwsWafv2ActionBlockDetails.
Trait Implementations§
source§impl Clone for AwsWafv2ActionBlockDetailsBuilder
impl Clone for AwsWafv2ActionBlockDetailsBuilder
source§fn clone(&self) -> AwsWafv2ActionBlockDetailsBuilder
fn clone(&self) -> AwsWafv2ActionBlockDetailsBuilder
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 AwsWafv2ActionBlockDetailsBuilder
impl Default for AwsWafv2ActionBlockDetailsBuilder
source§fn default() -> AwsWafv2ActionBlockDetailsBuilder
fn default() -> AwsWafv2ActionBlockDetailsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AwsWafv2ActionBlockDetailsBuilder
impl PartialEq for AwsWafv2ActionBlockDetailsBuilder
source§fn eq(&self, other: &AwsWafv2ActionBlockDetailsBuilder) -> bool
fn eq(&self, other: &AwsWafv2ActionBlockDetailsBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AwsWafv2ActionBlockDetailsBuilder
Auto Trait Implementations§
impl RefUnwindSafe for AwsWafv2ActionBlockDetailsBuilder
impl Send for AwsWafv2ActionBlockDetailsBuilder
impl Sync for AwsWafv2ActionBlockDetailsBuilder
impl Unpin for AwsWafv2ActionBlockDetailsBuilder
impl UnwindSafe for AwsWafv2ActionBlockDetailsBuilder
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.