Struct aws_sdk_databrew::model::ConditionExpression
source · [−]#[non_exhaustive]pub struct ConditionExpression {
pub condition: Option<String>,
pub value: Option<String>,
pub target_column: Option<String>,
}
Expand description
Represents an individual condition that evaluates to true or false.
Conditions are used with recipe actions. The action is only performed for column values where the condition evaluates to true.
If a recipe requires more than one condition, then the recipe must specify multiple ConditionExpression
elements. Each condition is applied to the rows in a dataset first, before the recipe action is performed.
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.condition: Option<String>
A specific condition to apply to a recipe action. For more information, see Recipe structure in the Glue DataBrew Developer Guide.
value: Option<String>
A value that the condition must evaluate to for the condition to succeed.
target_column: Option<String>
A column to apply this condition to.
Implementations
sourceimpl ConditionExpression
impl ConditionExpression
sourcepub fn condition(&self) -> Option<&str>
pub fn condition(&self) -> Option<&str>
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) -> Option<&str>
pub fn value(&self) -> Option<&str>
A value that the condition must evaluate to for the condition to succeed.
sourcepub fn target_column(&self) -> Option<&str>
pub fn target_column(&self) -> Option<&str>
A column to apply this condition to.
sourceimpl ConditionExpression
impl ConditionExpression
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ConditionExpression
Trait Implementations
sourceimpl Clone for ConditionExpression
impl Clone for ConditionExpression
sourcefn clone(&self) -> ConditionExpression
fn clone(&self) -> ConditionExpression
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ConditionExpression
impl Debug for ConditionExpression
sourceimpl PartialEq<ConditionExpression> for ConditionExpression
impl PartialEq<ConditionExpression> for ConditionExpression
sourcefn eq(&self, other: &ConditionExpression) -> bool
fn eq(&self, other: &ConditionExpression) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ConditionExpression) -> bool
fn ne(&self, other: &ConditionExpression) -> bool
This method tests for !=
.
impl StructuralPartialEq for ConditionExpression
Auto Trait Implementations
impl RefUnwindSafe for ConditionExpression
impl Send for ConditionExpression
impl Sync for ConditionExpression
impl Unpin for ConditionExpression
impl UnwindSafe for ConditionExpression
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more