#[non_exhaustive]pub struct SearchResourcesSimpleCriterion { /* private fields */ }
Expand description
Specifies a property-based filter condition that determines which Amazon Web Services resources are included or excluded from the query results.
Implementations§
source§impl SearchResourcesSimpleCriterion
impl SearchResourcesSimpleCriterion
sourcepub fn comparator(&self) -> Option<&SearchResourcesComparator>
pub fn comparator(&self) -> Option<&SearchResourcesComparator>
The operator to use in the condition. Valid values are EQ (equals) and NE (not equals).
sourcepub fn key(&self) -> Option<&SearchResourcesSimpleCriterionKey>
pub fn key(&self) -> Option<&SearchResourcesSimpleCriterionKey>
The property to use in the condition.
sourcepub fn values(&self) -> Option<&[String]>
pub fn values(&self) -> Option<&[String]>
An array that lists one or more values to use in the condition. If you specify multiple values, Amazon Macie uses OR logic to join the values. Valid values for each supported property (key) are:
ACCOUNT_ID - A string that represents the unique identifier for the Amazon Web Services account that owns the resource.
S3_BUCKET_EFFECTIVE_PERMISSION - A string that represents an enumerated value that Macie defines for the BucketPublicAccess.effectivePermission property of an S3 bucket.
S3_BUCKET_NAME - A string that represents the name of an S3 bucket.
S3_BUCKET_SHARED_ACCESS - A string that represents an enumerated value that Macie defines for the BucketMetadata.sharedAccess property of an S3 bucket.
Values are case sensitive. Also, Macie doesn't support use of partial values or wildcard characters in values.
source§impl SearchResourcesSimpleCriterion
impl SearchResourcesSimpleCriterion
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture SearchResourcesSimpleCriterion
.
Trait Implementations§
source§impl Clone for SearchResourcesSimpleCriterion
impl Clone for SearchResourcesSimpleCriterion
source§fn clone(&self) -> SearchResourcesSimpleCriterion
fn clone(&self) -> SearchResourcesSimpleCriterion
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq<SearchResourcesSimpleCriterion> for SearchResourcesSimpleCriterion
impl PartialEq<SearchResourcesSimpleCriterion> for SearchResourcesSimpleCriterion
source§fn eq(&self, other: &SearchResourcesSimpleCriterion) -> bool
fn eq(&self, other: &SearchResourcesSimpleCriterion) -> bool
self
and other
values to be equal, and is used
by ==
.