Struct aws_sdk_wafv2::types::builders::LoggingFilterBuilder
source · #[non_exhaustive]pub struct LoggingFilterBuilder { /* private fields */ }
Expand description
A builder for LoggingFilter
.
Implementations§
source§impl LoggingFilterBuilder
impl LoggingFilterBuilder
sourcepub fn filters(self, input: Filter) -> Self
pub fn filters(self, input: Filter) -> Self
Appends an item to filters
.
To override the contents of this collection use set_filters
.
The filters that you want to apply to the logs.
sourcepub fn set_filters(self, input: Option<Vec<Filter>>) -> Self
pub fn set_filters(self, input: Option<Vec<Filter>>) -> Self
The filters that you want to apply to the logs.
sourcepub fn get_filters(&self) -> &Option<Vec<Filter>>
pub fn get_filters(&self) -> &Option<Vec<Filter>>
The filters that you want to apply to the logs.
sourcepub fn default_behavior(self, input: FilterBehavior) -> Self
pub fn default_behavior(self, input: FilterBehavior) -> Self
Default handling for logs that don't match any of the specified filtering conditions.
This field is required.sourcepub fn set_default_behavior(self, input: Option<FilterBehavior>) -> Self
pub fn set_default_behavior(self, input: Option<FilterBehavior>) -> Self
Default handling for logs that don't match any of the specified filtering conditions.
sourcepub fn get_default_behavior(&self) -> &Option<FilterBehavior>
pub fn get_default_behavior(&self) -> &Option<FilterBehavior>
Default handling for logs that don't match any of the specified filtering conditions.
sourcepub fn build(self) -> Result<LoggingFilter, BuildError>
pub fn build(self) -> Result<LoggingFilter, BuildError>
Consumes the builder and constructs a LoggingFilter
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for LoggingFilterBuilder
impl Clone for LoggingFilterBuilder
source§fn clone(&self) -> LoggingFilterBuilder
fn clone(&self) -> LoggingFilterBuilder
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 LoggingFilterBuilder
impl Debug for LoggingFilterBuilder
source§impl Default for LoggingFilterBuilder
impl Default for LoggingFilterBuilder
source§fn default() -> LoggingFilterBuilder
fn default() -> LoggingFilterBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for LoggingFilterBuilder
impl PartialEq for LoggingFilterBuilder
source§fn eq(&self, other: &LoggingFilterBuilder) -> bool
fn eq(&self, other: &LoggingFilterBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LoggingFilterBuilder
Auto Trait Implementations§
impl Freeze for LoggingFilterBuilder
impl RefUnwindSafe for LoggingFilterBuilder
impl Send for LoggingFilterBuilder
impl Sync for LoggingFilterBuilder
impl Unpin for LoggingFilterBuilder
impl UnwindSafe for LoggingFilterBuilder
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.