Struct aws_sdk_wafv2::types::builders::FilterBuilder
source · #[non_exhaustive]pub struct FilterBuilder { /* private fields */ }
Expand description
A builder for Filter
.
Implementations§
source§impl FilterBuilder
impl FilterBuilder
sourcepub fn behavior(self, input: FilterBehavior) -> Self
pub fn behavior(self, input: FilterBehavior) -> Self
How to handle logs that satisfy the filter's conditions and requirement.
This field is required.sourcepub fn set_behavior(self, input: Option<FilterBehavior>) -> Self
pub fn set_behavior(self, input: Option<FilterBehavior>) -> Self
How to handle logs that satisfy the filter's conditions and requirement.
sourcepub fn get_behavior(&self) -> &Option<FilterBehavior>
pub fn get_behavior(&self) -> &Option<FilterBehavior>
How to handle logs that satisfy the filter's conditions and requirement.
sourcepub fn requirement(self, input: FilterRequirement) -> Self
pub fn requirement(self, input: FilterRequirement) -> Self
Logic to apply to the filtering conditions. You can specify that, in order to satisfy the filter, a log must match all conditions or must match at least one condition.
This field is required.sourcepub fn set_requirement(self, input: Option<FilterRequirement>) -> Self
pub fn set_requirement(self, input: Option<FilterRequirement>) -> Self
Logic to apply to the filtering conditions. You can specify that, in order to satisfy the filter, a log must match all conditions or must match at least one condition.
sourcepub fn get_requirement(&self) -> &Option<FilterRequirement>
pub fn get_requirement(&self) -> &Option<FilterRequirement>
Logic to apply to the filtering conditions. You can specify that, in order to satisfy the filter, a log must match all conditions or must match at least one condition.
sourcepub fn conditions(self, input: Condition) -> Self
pub fn conditions(self, input: Condition) -> Self
Appends an item to conditions
.
To override the contents of this collection use set_conditions
.
Match conditions for the filter.
sourcepub fn set_conditions(self, input: Option<Vec<Condition>>) -> Self
pub fn set_conditions(self, input: Option<Vec<Condition>>) -> Self
Match conditions for the filter.
sourcepub fn get_conditions(&self) -> &Option<Vec<Condition>>
pub fn get_conditions(&self) -> &Option<Vec<Condition>>
Match conditions for the filter.
Trait Implementations§
source§impl Clone for FilterBuilder
impl Clone for FilterBuilder
source§fn clone(&self) -> FilterBuilder
fn clone(&self) -> FilterBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for FilterBuilder
impl Debug for FilterBuilder
source§impl Default for FilterBuilder
impl Default for FilterBuilder
source§fn default() -> FilterBuilder
fn default() -> FilterBuilder
source§impl PartialEq for FilterBuilder
impl PartialEq for FilterBuilder
source§fn eq(&self, other: &FilterBuilder) -> bool
fn eq(&self, other: &FilterBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.