Struct aws_sdk_glue::types::builders::PredicateBuilder
source · #[non_exhaustive]pub struct PredicateBuilder { /* private fields */ }
Expand description
A builder for Predicate
.
Implementations§
source§impl PredicateBuilder
impl PredicateBuilder
sourcepub fn logical(self, input: Logical) -> Self
pub fn logical(self, input: Logical) -> Self
An optional field if only one condition is listed. If multiple conditions are listed, then this field is required.
sourcepub fn set_logical(self, input: Option<Logical>) -> Self
pub fn set_logical(self, input: Option<Logical>) -> Self
An optional field if only one condition is listed. If multiple conditions are listed, then this field is required.
sourcepub fn get_logical(&self) -> &Option<Logical>
pub fn get_logical(&self) -> &Option<Logical>
An optional field if only one condition is listed. If multiple conditions are listed, then this field is required.
sourcepub fn conditions(self, input: Condition) -> Self
pub fn conditions(self, input: Condition) -> Self
Appends an item to conditions
.
To override the contents of this collection use set_conditions
.
A list of the conditions that determine when the trigger will fire.
sourcepub fn set_conditions(self, input: Option<Vec<Condition>>) -> Self
pub fn set_conditions(self, input: Option<Vec<Condition>>) -> Self
A list of the conditions that determine when the trigger will fire.
sourcepub fn get_conditions(&self) -> &Option<Vec<Condition>>
pub fn get_conditions(&self) -> &Option<Vec<Condition>>
A list of the conditions that determine when the trigger will fire.
Trait Implementations§
source§impl Clone for PredicateBuilder
impl Clone for PredicateBuilder
source§fn clone(&self) -> PredicateBuilder
fn clone(&self) -> PredicateBuilder
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 PredicateBuilder
impl Debug for PredicateBuilder
source§impl Default for PredicateBuilder
impl Default for PredicateBuilder
source§fn default() -> PredicateBuilder
fn default() -> PredicateBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for PredicateBuilder
impl PartialEq for PredicateBuilder
source§fn eq(&self, other: &PredicateBuilder) -> bool
fn eq(&self, other: &PredicateBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PredicateBuilder
Auto Trait Implementations§
impl Freeze for PredicateBuilder
impl RefUnwindSafe for PredicateBuilder
impl Send for PredicateBuilder
impl Sync for PredicateBuilder
impl Unpin for PredicateBuilder
impl UnwindSafe for PredicateBuilder
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>
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.