#[non_exhaustive]pub struct CriterionAdditionalProperties {
pub eq: Option<Vec<String>>,
pub eq_exact_match: Option<Vec<String>>,
pub gt: Option<i64>,
pub gte: Option<i64>,
pub lt: Option<i64>,
pub lte: Option<i64>,
pub neq: Option<Vec<String>>,
}
Expand description
Specifies the operator to use in a property-based condition that filters the results of a query for findings. For detailed information and examples of each operator, see Fundamentals of filtering findings in the Amazon Macie User Guide.
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.eq: Option<Vec<String>>
The value for the property matches (equals) the specified value. If you specify multiple values, Macie uses OR logic to join the values.
eq_exact_match: Option<Vec<String>>
The value for the property exclusively matches (equals an exact match for) all the specified values. If you specify multiple values, Amazon Macie uses AND logic to join the values.
You can use this operator with the following properties: customDataIdentifiers.detections.arn, customDataIdentifiers.detections.name, resourcesAffected.s3Bucket.tags.key, resourcesAffected.s3Bucket.tags.value, resourcesAffected.s3Object.tags.key, resourcesAffected.s3Object.tags.value, sensitiveData.category, and sensitiveData.detections.type.
gt: Option<i64>
The value for the property is greater than the specified value.
gte: Option<i64>
The value for the property is greater than or equal to the specified value.
lt: Option<i64>
The value for the property is less than the specified value.
lte: Option<i64>
The value for the property is less than or equal to the specified value.
neq: Option<Vec<String>>
The value for the property doesn't match (doesn't equal) the specified value. If you specify multiple values, Macie uses OR logic to join the values.
Implementations§
source§impl CriterionAdditionalProperties
impl CriterionAdditionalProperties
sourcepub fn eq(&self) -> Option<&[String]>
pub fn eq(&self) -> Option<&[String]>
The value for the property matches (equals) the specified value. If you specify multiple values, Macie uses OR logic to join the values.
sourcepub fn eq_exact_match(&self) -> Option<&[String]>
pub fn eq_exact_match(&self) -> Option<&[String]>
The value for the property exclusively matches (equals an exact match for) all the specified values. If you specify multiple values, Amazon Macie uses AND logic to join the values.
You can use this operator with the following properties: customDataIdentifiers.detections.arn, customDataIdentifiers.detections.name, resourcesAffected.s3Bucket.tags.key, resourcesAffected.s3Bucket.tags.value, resourcesAffected.s3Object.tags.key, resourcesAffected.s3Object.tags.value, sensitiveData.category, and sensitiveData.detections.type.
sourcepub fn gt(&self) -> Option<i64>
pub fn gt(&self) -> Option<i64>
The value for the property is greater than the specified value.
sourcepub fn gte(&self) -> Option<i64>
pub fn gte(&self) -> Option<i64>
The value for the property is greater than or equal to the specified value.
source§impl CriterionAdditionalProperties
impl CriterionAdditionalProperties
sourcepub fn builder() -> CriterionAdditionalPropertiesBuilder
pub fn builder() -> CriterionAdditionalPropertiesBuilder
Creates a new builder-style object to manufacture CriterionAdditionalProperties
.
Trait Implementations§
source§impl Clone for CriterionAdditionalProperties
impl Clone for CriterionAdditionalProperties
source§fn clone(&self) -> CriterionAdditionalProperties
fn clone(&self) -> CriterionAdditionalProperties
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq<CriterionAdditionalProperties> for CriterionAdditionalProperties
impl PartialEq<CriterionAdditionalProperties> for CriterionAdditionalProperties
source§fn eq(&self, other: &CriterionAdditionalProperties) -> bool
fn eq(&self, other: &CriterionAdditionalProperties) -> bool
self
and other
values to be equal, and is used
by ==
.