Struct aws_sdk_accessanalyzer::types::builders::CriterionBuilder
source · #[non_exhaustive]pub struct CriterionBuilder { /* private fields */ }
Expand description
A builder for Criterion
.
Implementations§
source§impl CriterionBuilder
impl CriterionBuilder
sourcepub fn eq(self, input: impl Into<String>) -> Self
pub fn eq(self, input: impl Into<String>) -> Self
Appends an item to eq
.
To override the contents of this collection use set_eq
.
An "equals" operator to match for the filter used to create the rule.
sourcepub fn set_eq(self, input: Option<Vec<String>>) -> Self
pub fn set_eq(self, input: Option<Vec<String>>) -> Self
An "equals" operator to match for the filter used to create the rule.
sourcepub fn get_eq(&self) -> &Option<Vec<String>>
pub fn get_eq(&self) -> &Option<Vec<String>>
An "equals" operator to match for the filter used to create the rule.
sourcepub fn neq(self, input: impl Into<String>) -> Self
pub fn neq(self, input: impl Into<String>) -> Self
Appends an item to neq
.
To override the contents of this collection use set_neq
.
A "not equals" operator to match for the filter used to create the rule.
sourcepub fn set_neq(self, input: Option<Vec<String>>) -> Self
pub fn set_neq(self, input: Option<Vec<String>>) -> Self
A "not equals" operator to match for the filter used to create the rule.
sourcepub fn get_neq(&self) -> &Option<Vec<String>>
pub fn get_neq(&self) -> &Option<Vec<String>>
A "not equals" operator to match for the filter used to create the rule.
sourcepub fn contains(self, input: impl Into<String>) -> Self
pub fn contains(self, input: impl Into<String>) -> Self
Appends an item to contains
.
To override the contents of this collection use set_contains
.
A "contains" operator to match for the filter used to create the rule.
sourcepub fn set_contains(self, input: Option<Vec<String>>) -> Self
pub fn set_contains(self, input: Option<Vec<String>>) -> Self
A "contains" operator to match for the filter used to create the rule.
sourcepub fn get_contains(&self) -> &Option<Vec<String>>
pub fn get_contains(&self) -> &Option<Vec<String>>
A "contains" operator to match for the filter used to create the rule.
sourcepub fn exists(self, input: bool) -> Self
pub fn exists(self, input: bool) -> Self
An "exists" operator to match for the filter used to create the rule.
sourcepub fn set_exists(self, input: Option<bool>) -> Self
pub fn set_exists(self, input: Option<bool>) -> Self
An "exists" operator to match for the filter used to create the rule.
sourcepub fn get_exists(&self) -> &Option<bool>
pub fn get_exists(&self) -> &Option<bool>
An "exists" operator to match for the filter used to create the rule.
Trait Implementations§
source§impl Clone for CriterionBuilder
impl Clone for CriterionBuilder
source§fn clone(&self) -> CriterionBuilder
fn clone(&self) -> CriterionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CriterionBuilder
impl Debug for CriterionBuilder
source§impl Default for CriterionBuilder
impl Default for CriterionBuilder
source§fn default() -> CriterionBuilder
fn default() -> CriterionBuilder
source§impl PartialEq for CriterionBuilder
impl PartialEq for CriterionBuilder
source§fn eq(&self, other: &CriterionBuilder) -> bool
fn eq(&self, other: &CriterionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CriterionBuilder
Auto Trait Implementations§
impl Freeze for CriterionBuilder
impl RefUnwindSafe for CriterionBuilder
impl Send for CriterionBuilder
impl Sync for CriterionBuilder
impl Unpin for CriterionBuilder
impl UnwindSafe for CriterionBuilder
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more