Interface RecipeStep.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RecipeStep.Builder,,RecipeStep> SdkBuilder<RecipeStep.Builder,,RecipeStep> SdkPojo
- Enclosing class:
RecipeStep
-
Method Summary
Modifier and TypeMethodDescriptiondefault RecipeStep.Builderaction(Consumer<RecipeAction.Builder> action) The particular action to be performed in the recipe step.action(RecipeAction action) The particular action to be performed in the recipe step.conditionExpressions(Collection<ConditionExpression> conditionExpressions) One or more conditions that must be met for the recipe step to succeed.conditionExpressions(Consumer<ConditionExpression.Builder>... conditionExpressions) One or more conditions that must be met for the recipe step to succeed.conditionExpressions(ConditionExpression... conditionExpressions) One or more conditions that must be met for the recipe step to succeed.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
action
The particular action to be performed in the recipe step.
- Parameters:
action- The particular action to be performed in the recipe step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
action
The particular action to be performed in the recipe step.
This is a convenience method that creates an instance of theRecipeAction.Builderavoiding the need to create one manually viaRecipeAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaction(RecipeAction).- Parameters:
action- a consumer that will call methods onRecipeAction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- 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:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- 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:
- Returns a reference to this object so that method calls can be chained together.
-
conditionExpressions
RecipeStep.Builder conditionExpressions(Consumer<ConditionExpression.Builder>... conditionExpressions) One or more conditions that must be met for the recipe step to succeed.
This is a convenience method that creates an instance of theAll of the conditions in the array must be met. In other words, all of the conditions must be combined using a logical AND operation.
ConditionExpression.Builderavoiding the need to create one manually viaConditionExpression.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconditionExpressions(List<ConditionExpression>).- Parameters:
conditionExpressions- a consumer that will call methods onConditionExpression.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-