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
A specific condition to apply to a recipe action. For more information, see Recipe structure in the Glue DataBrew Developer Guide.
A value that the condition must evaluate to for the condition to succeed.
A column to apply this condition to.
Creates a new builder-style object to manufacture ConditionExpression
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
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
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more