Struct aws_sdk_macie2::types::SearchResourcesCriteria
source · #[non_exhaustive]pub struct SearchResourcesCriteria {
pub simple_criterion: Option<SearchResourcesSimpleCriterion>,
pub tag_criterion: Option<SearchResourcesTagCriterion>,
}
Expand description
Specifies a property- or tag-based filter condition for including or excluding Amazon Web Services resources from the query results.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.simple_criterion: Option<SearchResourcesSimpleCriterion>
A property-based condition that defines a property, operator, and one or more values for including or excluding resources from the results.
tag_criterion: Option<SearchResourcesTagCriterion>
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.
Implementations§
source§impl SearchResourcesCriteria
impl SearchResourcesCriteria
sourcepub fn simple_criterion(&self) -> Option<&SearchResourcesSimpleCriterion>
pub fn simple_criterion(&self) -> Option<&SearchResourcesSimpleCriterion>
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) -> Option<&SearchResourcesTagCriterion>
pub fn tag_criterion(&self) -> Option<&SearchResourcesTagCriterion>
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.
source§impl SearchResourcesCriteria
impl SearchResourcesCriteria
sourcepub fn builder() -> SearchResourcesCriteriaBuilder
pub fn builder() -> SearchResourcesCriteriaBuilder
Creates a new builder-style object to manufacture SearchResourcesCriteria
.
Trait Implementations§
source§impl Clone for SearchResourcesCriteria
impl Clone for SearchResourcesCriteria
source§fn clone(&self) -> SearchResourcesCriteria
fn clone(&self) -> SearchResourcesCriteria
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SearchResourcesCriteria
impl Debug for SearchResourcesCriteria
source§impl PartialEq for SearchResourcesCriteria
impl PartialEq for SearchResourcesCriteria
source§fn eq(&self, other: &SearchResourcesCriteria) -> bool
fn eq(&self, other: &SearchResourcesCriteria) -> bool
self
and other
values to be equal, and is used
by ==
.