Class CfnRecipe.ConditionExpressionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.databrew.CfnRecipe.ConditionExpressionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRecipe.ConditionExpressionProperty>
- Enclosing interface:
CfnRecipe.ConditionExpressionProperty
@Stability(Stable)
public static final class CfnRecipe.ConditionExpressionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRecipe.ConditionExpressionProperty>
A builder for
CfnRecipe.ConditionExpressionProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnRecipe.ConditionExpressionProperty.getCondition()
targetColumn
(String targetColumn) Sets the value ofCfnRecipe.ConditionExpressionProperty.getTargetColumn()
Sets the value ofCfnRecipe.ConditionExpressionProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
condition
Sets the value ofCfnRecipe.ConditionExpressionProperty.getCondition()
- Parameters:
condition
- A specific condition to apply to a recipe action. This parameter is required. For more information, see Recipe structure in the AWS Glue DataBrew Developer Guide .- Returns:
this
-
targetColumn
@Stability(Stable) public CfnRecipe.ConditionExpressionProperty.Builder targetColumn(String targetColumn) Sets the value ofCfnRecipe.ConditionExpressionProperty.getTargetColumn()
- Parameters:
targetColumn
- A column to apply this condition to. This parameter is required.- Returns:
this
-
value
Sets the value ofCfnRecipe.ConditionExpressionProperty.getValue()
- Parameters:
value
- A value that the condition must evaluate to for the condition to succeed.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnRecipe.ConditionExpressionProperty>
- Returns:
- a new instance of
CfnRecipe.ConditionExpressionProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-