Struct aws_sdk_macie2::types::CriteriaBlockForJob
source · #[non_exhaustive]pub struct CriteriaBlockForJob {
pub and: Option<Vec<CriteriaForJob>>,
}
Expand description
Specifies one or more property- and tag-based conditions that define criteria for including or excluding S3 buckets from a classification job.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.and: Option<Vec<CriteriaForJob>>
An array of conditions, one for each condition that determines which buckets to include or exclude from the job. If you specify more than one condition, Amazon Macie uses AND logic to join the conditions.
Implementations§
source§impl CriteriaBlockForJob
impl CriteriaBlockForJob
sourcepub fn and(&self) -> &[CriteriaForJob]
pub fn and(&self) -> &[CriteriaForJob]
An array of conditions, one for each condition that determines which buckets to include or exclude from the job. If you specify more than one condition, Amazon Macie uses AND logic to join the conditions.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .and.is_none()
.
source§impl CriteriaBlockForJob
impl CriteriaBlockForJob
sourcepub fn builder() -> CriteriaBlockForJobBuilder
pub fn builder() -> CriteriaBlockForJobBuilder
Creates a new builder-style object to manufacture CriteriaBlockForJob
.
Trait Implementations§
source§impl Clone for CriteriaBlockForJob
impl Clone for CriteriaBlockForJob
source§fn clone(&self) -> CriteriaBlockForJob
fn clone(&self) -> CriteriaBlockForJob
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 Debug for CriteriaBlockForJob
impl Debug for CriteriaBlockForJob
source§impl PartialEq for CriteriaBlockForJob
impl PartialEq for CriteriaBlockForJob
source§fn eq(&self, other: &CriteriaBlockForJob) -> bool
fn eq(&self, other: &CriteriaBlockForJob) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CriteriaBlockForJob
Auto Trait Implementations§
impl RefUnwindSafe for CriteriaBlockForJob
impl Send for CriteriaBlockForJob
impl Sync for CriteriaBlockForJob
impl Unpin for CriteriaBlockForJob
impl UnwindSafe for CriteriaBlockForJob
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.