#[non_exhaustive]pub struct CriterionAdditionalProperties {
pub eq: Option<Vec<String>>,
pub eq_exact_match: Option<Vec<String>>,
pub gt: i64,
pub gte: i64,
pub lt: i64,
pub lte: 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: i64
The value for the property is greater than the specified value.
gte: i64
The value for the property is greater than or equal to the specified value.
lt: i64
The value for the property is less than the specified value.
lte: 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
sourceimpl 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 gte(&self) -> i64
pub fn gte(&self) -> i64
The value for the property is greater than or equal to the specified value.
sourceimpl CriterionAdditionalProperties
impl CriterionAdditionalProperties
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CriterionAdditionalProperties
Trait Implementations
sourceimpl Clone for CriterionAdditionalProperties
impl Clone for CriterionAdditionalProperties
sourcefn clone(&self) -> CriterionAdditionalProperties
fn clone(&self) -> CriterionAdditionalProperties
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CriterionAdditionalProperties
impl Debug for CriterionAdditionalProperties
sourceimpl PartialEq<CriterionAdditionalProperties> for CriterionAdditionalProperties
impl PartialEq<CriterionAdditionalProperties> for CriterionAdditionalProperties
sourcefn eq(&self, other: &CriterionAdditionalProperties) -> bool
fn eq(&self, other: &CriterionAdditionalProperties) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CriterionAdditionalProperties) -> bool
fn ne(&self, other: &CriterionAdditionalProperties) -> bool
This method tests for !=
.
impl StructuralPartialEq for CriterionAdditionalProperties
Auto Trait Implementations
impl RefUnwindSafe for CriterionAdditionalProperties
impl Send for CriterionAdditionalProperties
impl Sync for CriterionAdditionalProperties
impl Unpin for CriterionAdditionalProperties
impl UnwindSafe for CriterionAdditionalProperties
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more