@Stability(value=Stable)
public static interface CfnRecipe.ConditionExpressionProperty
extends software.amazon.jsii.JsiiSerializable
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.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.databrew.*;
ConditionExpressionProperty conditionExpressionProperty = ConditionExpressionProperty.builder()
.condition("condition")
.targetColumn("targetColumn")
// the properties below are optional
.value("value")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnRecipe.ConditionExpressionProperty.Builder
A builder for
CfnRecipe.ConditionExpressionProperty |
static class |
CfnRecipe.ConditionExpressionProperty.Jsii$Proxy
An implementation for
CfnRecipe.ConditionExpressionProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnRecipe.ConditionExpressionProperty.Builder |
builder() |
String |
getCondition()
A specific condition to apply to a recipe action.
|
String |
getTargetColumn()
A column to apply this condition to.
|
default String |
getValue()
A value that the condition must evaluate to for the condition to succeed.
|
@Stability(value=Stable) @NotNull String getCondition()
For more information, see Recipe structure in the AWS Glue DataBrew Developer Guide .
@Stability(value=Stable) @NotNull String getTargetColumn()
@Stability(value=Stable) @Nullable default String getValue()
@Stability(value=Stable) static CfnRecipe.ConditionExpressionProperty.Builder builder()
Copyright © 2022. All rights reserved.