#[non_exhaustive]pub struct SearchResourcesCriteriaBuilder { /* private fields */ }Expand description
A builder for SearchResourcesCriteria.
Implementations§
source§impl SearchResourcesCriteriaBuilder
impl SearchResourcesCriteriaBuilder
sourcepub fn simple_criterion(self, input: SearchResourcesSimpleCriterion) -> Self
pub fn simple_criterion(self, input: SearchResourcesSimpleCriterion) -> Self
A property-based condition that defines a property, operator, and one or more values for including or excluding resources from the results.
sourcepub fn set_simple_criterion(
self,
input: Option<SearchResourcesSimpleCriterion>
) -> Self
pub fn set_simple_criterion( self, input: Option<SearchResourcesSimpleCriterion> ) -> Self
A property-based condition that defines a property, operator, and one or more values for including or excluding resources from the results.
sourcepub fn tag_criterion(self, input: SearchResourcesTagCriterion) -> Self
pub fn tag_criterion(self, input: SearchResourcesTagCriterion) -> Self
A tag-based condition that defines an operator and tag keys, tag values, or tag key and value pairs for including or excluding resources from the results.
sourcepub fn set_tag_criterion(
self,
input: Option<SearchResourcesTagCriterion>
) -> Self
pub fn set_tag_criterion( self, input: Option<SearchResourcesTagCriterion> ) -> Self
A tag-based condition that defines an operator and tag keys, tag values, or tag key and value pairs for including or excluding resources from the results.
sourcepub fn build(self) -> SearchResourcesCriteria
pub fn build(self) -> SearchResourcesCriteria
Consumes the builder and constructs a SearchResourcesCriteria.
Trait Implementations§
source§impl Clone for SearchResourcesCriteriaBuilder
impl Clone for SearchResourcesCriteriaBuilder
source§fn clone(&self) -> SearchResourcesCriteriaBuilder
fn clone(&self) -> SearchResourcesCriteriaBuilder
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 Default for SearchResourcesCriteriaBuilder
impl Default for SearchResourcesCriteriaBuilder
source§fn default() -> SearchResourcesCriteriaBuilder
fn default() -> SearchResourcesCriteriaBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<SearchResourcesCriteriaBuilder> for SearchResourcesCriteriaBuilder
impl PartialEq<SearchResourcesCriteriaBuilder> for SearchResourcesCriteriaBuilder
source§fn eq(&self, other: &SearchResourcesCriteriaBuilder) -> bool
fn eq(&self, other: &SearchResourcesCriteriaBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for SearchResourcesCriteriaBuilder
Auto Trait Implementations§
impl RefUnwindSafe for SearchResourcesCriteriaBuilder
impl Send for SearchResourcesCriteriaBuilder
impl Sync for SearchResourcesCriteriaBuilder
impl Unpin for SearchResourcesCriteriaBuilder
impl UnwindSafe for SearchResourcesCriteriaBuilder
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