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
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) -> &[JobScopeTerm]
pub fn and(&self) -> &[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.
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 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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for JobScopingBlock
impl Debug for JobScopingBlock
source§impl PartialEq for JobScopingBlock
impl PartialEq for JobScopingBlock
source§fn eq(&self, other: &JobScopingBlock) -> bool
fn eq(&self, other: &JobScopingBlock) -> bool
self
and other
values to be equal, and is used
by ==
.