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 ==
.impl StructuralPartialEq for JobScopingBlock
Auto Trait Implementations§
impl Freeze for JobScopingBlock
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more