#[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 ==
.