#[non_exhaustive]pub struct ConditionExpressionBuilder { /* private fields */ }
Expand description
A builder for ConditionExpression
.
Implementations§
source§impl ConditionExpressionBuilder
impl ConditionExpressionBuilder
sourcepub fn condition(self, input: impl Into<String>) -> Self
pub fn condition(self, input: impl Into<String>) -> Self
A specific condition to apply to a recipe action. For more information, see Recipe structure in the Glue DataBrew Developer Guide.
This field is required.sourcepub fn set_condition(self, input: Option<String>) -> Self
pub fn set_condition(self, input: Option<String>) -> Self
A specific condition to apply to a recipe action. For more information, see Recipe structure in the Glue DataBrew Developer Guide.
sourcepub fn get_condition(&self) -> &Option<String>
pub fn get_condition(&self) -> &Option<String>
A specific condition to apply to a recipe action. For more information, see Recipe structure in the Glue DataBrew Developer Guide.
sourcepub fn value(self, input: impl Into<String>) -> Self
pub fn value(self, input: impl Into<String>) -> Self
A value that the condition must evaluate to for the condition to succeed.
sourcepub fn set_value(self, input: Option<String>) -> Self
pub fn set_value(self, input: Option<String>) -> Self
A value that the condition must evaluate to for the condition to succeed.
sourcepub fn get_value(&self) -> &Option<String>
pub fn get_value(&self) -> &Option<String>
A value that the condition must evaluate to for the condition to succeed.
sourcepub fn target_column(self, input: impl Into<String>) -> Self
pub fn target_column(self, input: impl Into<String>) -> Self
A column to apply this condition to.
This field is required.sourcepub fn set_target_column(self, input: Option<String>) -> Self
pub fn set_target_column(self, input: Option<String>) -> Self
A column to apply this condition to.
sourcepub fn get_target_column(&self) -> &Option<String>
pub fn get_target_column(&self) -> &Option<String>
A column to apply this condition to.
sourcepub fn build(self) -> Result<ConditionExpression, BuildError>
pub fn build(self) -> Result<ConditionExpression, BuildError>
Consumes the builder and constructs a ConditionExpression
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ConditionExpressionBuilder
impl Clone for ConditionExpressionBuilder
source§fn clone(&self) -> ConditionExpressionBuilder
fn clone(&self) -> ConditionExpressionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ConditionExpressionBuilder
impl Debug for ConditionExpressionBuilder
source§impl Default for ConditionExpressionBuilder
impl Default for ConditionExpressionBuilder
source§fn default() -> ConditionExpressionBuilder
fn default() -> ConditionExpressionBuilder
impl StructuralPartialEq for ConditionExpressionBuilder
Auto Trait Implementations§
impl Freeze for ConditionExpressionBuilder
impl RefUnwindSafe for ConditionExpressionBuilder
impl Send for ConditionExpressionBuilder
impl Sync for ConditionExpressionBuilder
impl Unpin for ConditionExpressionBuilder
impl UnwindSafe for ConditionExpressionBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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