Struct aws_sdk_databrew::model::ConditionExpression
source · #[non_exhaustive]pub struct ConditionExpression { /* private fields */ }
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.
Implementations§
source§impl 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.
source§impl ConditionExpression
impl ConditionExpression
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ConditionExpression
.
Trait Implementations§
source§impl Clone for ConditionExpression
impl Clone for ConditionExpression
source§fn clone(&self) -> ConditionExpression
fn clone(&self) -> ConditionExpression
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 ConditionExpression
impl Debug for ConditionExpression
source§impl PartialEq<ConditionExpression> for ConditionExpression
impl PartialEq<ConditionExpression> for ConditionExpression
source§fn 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 ==
.