#[non_exhaustive]pub struct SearchResourcesCriteriaBlockBuilder { /* private fields */ }Expand description
A builder for SearchResourcesCriteriaBlock.
Implementations§
source§impl SearchResourcesCriteriaBlockBuilder
impl SearchResourcesCriteriaBlockBuilder
sourcepub fn and(self, input: SearchResourcesCriteria) -> Self
pub fn and(self, input: SearchResourcesCriteria) -> Self
Appends an item to and.
To override the contents of this collection use set_and.
An array of objects, one for each property- or tag-based condition that includes or excludes resources from the query results. If you specify more than one condition, Amazon Macie uses AND logic to join the conditions.
sourcepub fn set_and(self, input: Option<Vec<SearchResourcesCriteria>>) -> Self
pub fn set_and(self, input: Option<Vec<SearchResourcesCriteria>>) -> Self
An array of objects, one for each property- or tag-based condition that includes or excludes resources from the query results. If you specify more than one condition, Amazon Macie uses AND logic to join the conditions.
sourcepub fn get_and(&self) -> &Option<Vec<SearchResourcesCriteria>>
pub fn get_and(&self) -> &Option<Vec<SearchResourcesCriteria>>
An array of objects, one for each property- or tag-based condition that includes or excludes resources from the query results. If you specify more than one condition, Amazon Macie uses AND logic to join the conditions.
sourcepub fn build(self) -> SearchResourcesCriteriaBlock
pub fn build(self) -> SearchResourcesCriteriaBlock
Consumes the builder and constructs a SearchResourcesCriteriaBlock.
Trait Implementations§
source§impl Clone for SearchResourcesCriteriaBlockBuilder
impl Clone for SearchResourcesCriteriaBlockBuilder
source§fn clone(&self) -> SearchResourcesCriteriaBlockBuilder
fn clone(&self) -> SearchResourcesCriteriaBlockBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for SearchResourcesCriteriaBlockBuilder
impl Default for SearchResourcesCriteriaBlockBuilder
source§fn default() -> SearchResourcesCriteriaBlockBuilder
fn default() -> SearchResourcesCriteriaBlockBuilder
source§impl PartialEq for SearchResourcesCriteriaBlockBuilder
impl PartialEq for SearchResourcesCriteriaBlockBuilder
source§fn eq(&self, other: &SearchResourcesCriteriaBlockBuilder) -> bool
fn eq(&self, other: &SearchResourcesCriteriaBlockBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for SearchResourcesCriteriaBlockBuilder
Auto Trait Implementations§
impl Freeze for SearchResourcesCriteriaBlockBuilder
impl RefUnwindSafe for SearchResourcesCriteriaBlockBuilder
impl Send for SearchResourcesCriteriaBlockBuilder
impl Sync for SearchResourcesCriteriaBlockBuilder
impl Unpin for SearchResourcesCriteriaBlockBuilder
impl UnwindSafe for SearchResourcesCriteriaBlockBuilder
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