Struct aws_sdk_macie2::types::JobScopingBlock
source · #[non_exhaustive]pub struct JobScopingBlock {
pub and: Option<Vec<JobScopeTerm>>,
}
Expand description
Specifies one or more property- and tag-based conditions that define criteria for including or excluding S3 objects 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<JobScopeTerm>>
An array of conditions, one for each property- or tag-based condition that determines which objects 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 JobScopingBlock
impl JobScopingBlock
sourcepub fn and(&self) -> Option<&[JobScopeTerm]>
pub fn and(&self) -> Option<&[JobScopeTerm]>
An array of conditions, one for each property- or tag-based condition that determines which objects to include or exclude from the job. If you specify more than one condition, Amazon Macie uses AND logic to join the conditions.
source§impl JobScopingBlock
impl JobScopingBlock
sourcepub fn builder() -> JobScopingBlockBuilder
pub fn builder() -> JobScopingBlockBuilder
Creates a new builder-style object to manufacture JobScopingBlock
.
Trait Implementations§
source§impl Clone for JobScopingBlock
impl Clone for JobScopingBlock
source§fn clone(&self) -> JobScopingBlock
fn clone(&self) -> JobScopingBlock
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 JobScopingBlock
impl Debug for JobScopingBlock
source§impl PartialEq<JobScopingBlock> for JobScopingBlock
impl PartialEq<JobScopingBlock> for JobScopingBlock
source§fn eq(&self, other: &JobScopingBlock) -> bool
fn eq(&self, other: &JobScopingBlock) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for JobScopingBlock
Auto Trait Implementations§
impl RefUnwindSafe for JobScopingBlock
impl Send for JobScopingBlock
impl Sync for JobScopingBlock
impl Unpin for JobScopingBlock
impl UnwindSafe for JobScopingBlock
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