Class CfnRecipe.RecipeStepProperty.Builder
java.lang.Object
software.amazon.awscdk.services.databrew.CfnRecipe.RecipeStepProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRecipe.RecipeStepProperty>
- Enclosing interface:
CfnRecipe.RecipeStepProperty
@Stability(Stable)
public static final class CfnRecipe.RecipeStepProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRecipe.RecipeStepProperty>
A builder for
CfnRecipe.RecipeStepProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaction
(IResolvable action) Sets the value ofCfnRecipe.RecipeStepProperty.getAction()
action
(CfnRecipe.ActionProperty action) Sets the value ofCfnRecipe.RecipeStepProperty.getAction()
build()
Builds the configured instance.conditionExpressions
(List<? extends Object> conditionExpressions) Sets the value ofCfnRecipe.RecipeStepProperty.getConditionExpressions()
conditionExpressions
(IResolvable conditionExpressions) Sets the value ofCfnRecipe.RecipeStepProperty.getConditionExpressions()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
action
Sets the value ofCfnRecipe.RecipeStepProperty.getAction()
- Parameters:
action
- The particular action to be performed in the recipe step. This parameter is required.- Returns:
this
-
action
@Stability(Stable) public CfnRecipe.RecipeStepProperty.Builder action(CfnRecipe.ActionProperty action) Sets the value ofCfnRecipe.RecipeStepProperty.getAction()
- Parameters:
action
- The particular action to be performed in the recipe step. This parameter is required.- Returns:
this
-
conditionExpressions
@Stability(Stable) public CfnRecipe.RecipeStepProperty.Builder conditionExpressions(IResolvable conditionExpressions) Sets the value ofCfnRecipe.RecipeStepProperty.getConditionExpressions()
- Parameters:
conditionExpressions
- One or more conditions that must be met for the recipe step to succeed.All of the conditions in the array must be met. In other words, all of the conditions must be combined using a logical AND operation.
- Returns:
this
-
conditionExpressions
@Stability(Stable) public CfnRecipe.RecipeStepProperty.Builder conditionExpressions(List<? extends Object> conditionExpressions) Sets the value ofCfnRecipe.RecipeStepProperty.getConditionExpressions()
- Parameters:
conditionExpressions
- One or more conditions that must be met for the recipe step to succeed.All of the conditions in the array must be met. In other words, all of the conditions must be combined using a logical AND operation.
- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnRecipe.RecipeStepProperty>
- Returns:
- a new instance of
CfnRecipe.RecipeStepProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-