#[non_exhaustive]pub struct AwsWafv2WebAclActionDetailsBuilder { /* private fields */ }Expand description
A builder for AwsWafv2WebAclActionDetails.
Implementations§
source§impl AwsWafv2WebAclActionDetailsBuilder
impl AwsWafv2WebAclActionDetailsBuilder
sourcepub fn allow(self, input: AwsWafv2ActionAllowDetails) -> Self
pub fn allow(self, input: AwsWafv2ActionAllowDetails) -> Self
Specifies that WAF should allow requests by default.
sourcepub fn set_allow(self, input: Option<AwsWafv2ActionAllowDetails>) -> Self
pub fn set_allow(self, input: Option<AwsWafv2ActionAllowDetails>) -> Self
Specifies that WAF should allow requests by default.
sourcepub fn get_allow(&self) -> &Option<AwsWafv2ActionAllowDetails>
pub fn get_allow(&self) -> &Option<AwsWafv2ActionAllowDetails>
Specifies that WAF should allow requests by default.
sourcepub fn block(self, input: AwsWafv2ActionBlockDetails) -> Self
pub fn block(self, input: AwsWafv2ActionBlockDetails) -> Self
Specifies that WAF should block requests by default.
sourcepub fn set_block(self, input: Option<AwsWafv2ActionBlockDetails>) -> Self
pub fn set_block(self, input: Option<AwsWafv2ActionBlockDetails>) -> Self
Specifies that WAF should block requests by default.
sourcepub fn get_block(&self) -> &Option<AwsWafv2ActionBlockDetails>
pub fn get_block(&self) -> &Option<AwsWafv2ActionBlockDetails>
Specifies that WAF should block requests by default.
sourcepub fn build(self) -> AwsWafv2WebAclActionDetails
pub fn build(self) -> AwsWafv2WebAclActionDetails
Consumes the builder and constructs a AwsWafv2WebAclActionDetails.
Trait Implementations§
source§impl Clone for AwsWafv2WebAclActionDetailsBuilder
impl Clone for AwsWafv2WebAclActionDetailsBuilder
source§fn clone(&self) -> AwsWafv2WebAclActionDetailsBuilder
fn clone(&self) -> AwsWafv2WebAclActionDetailsBuilder
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 AwsWafv2WebAclActionDetailsBuilder
impl Default for AwsWafv2WebAclActionDetailsBuilder
source§fn default() -> AwsWafv2WebAclActionDetailsBuilder
fn default() -> AwsWafv2WebAclActionDetailsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AwsWafv2WebAclActionDetailsBuilder
impl PartialEq for AwsWafv2WebAclActionDetailsBuilder
source§fn eq(&self, other: &AwsWafv2WebAclActionDetailsBuilder) -> bool
fn eq(&self, other: &AwsWafv2WebAclActionDetailsBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AwsWafv2WebAclActionDetailsBuilder
Auto Trait Implementations§
impl RefUnwindSafe for AwsWafv2WebAclActionDetailsBuilder
impl Send for AwsWafv2WebAclActionDetailsBuilder
impl Sync for AwsWafv2WebAclActionDetailsBuilder
impl Unpin for AwsWafv2WebAclActionDetailsBuilder
impl UnwindSafe for AwsWafv2WebAclActionDetailsBuilder
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.