Struct aws_sdk_macie2::types::builders::JobScopingBlockBuilder
source · #[non_exhaustive]pub struct JobScopingBlockBuilder { /* private fields */ }
Expand description
A builder for JobScopingBlock
.
Implementations§
source§impl JobScopingBlockBuilder
impl JobScopingBlockBuilder
sourcepub fn and(self, input: JobScopeTerm) -> Self
pub fn and(self, input: JobScopeTerm) -> Self
Appends an item to and
.
To override the contents of this collection use set_and
.
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.
sourcepub fn set_and(self, input: Option<Vec<JobScopeTerm>>) -> Self
pub fn set_and(self, input: Option<Vec<JobScopeTerm>>) -> Self
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.
sourcepub fn get_and(&self) -> &Option<Vec<JobScopeTerm>>
pub fn get_and(&self) -> &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.
sourcepub fn build(self) -> JobScopingBlock
pub fn build(self) -> JobScopingBlock
Consumes the builder and constructs a JobScopingBlock
.
Trait Implementations§
source§impl Clone for JobScopingBlockBuilder
impl Clone for JobScopingBlockBuilder
source§fn clone(&self) -> JobScopingBlockBuilder
fn clone(&self) -> JobScopingBlockBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for JobScopingBlockBuilder
impl Debug for JobScopingBlockBuilder
source§impl Default for JobScopingBlockBuilder
impl Default for JobScopingBlockBuilder
source§fn default() -> JobScopingBlockBuilder
fn default() -> JobScopingBlockBuilder
source§impl PartialEq for JobScopingBlockBuilder
impl PartialEq for JobScopingBlockBuilder
source§fn eq(&self, other: &JobScopingBlockBuilder) -> bool
fn eq(&self, other: &JobScopingBlockBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for JobScopingBlockBuilder
Auto Trait Implementations§
impl Freeze for JobScopingBlockBuilder
impl RefUnwindSafe for JobScopingBlockBuilder
impl Send for JobScopingBlockBuilder
impl Sync for JobScopingBlockBuilder
impl Unpin for JobScopingBlockBuilder
impl UnwindSafe for JobScopingBlockBuilder
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