Interface RecipeStep.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RecipeStep.Builder,RecipeStep>,SdkBuilder<RecipeStep.Builder,RecipeStep>,SdkPojo
- Enclosing class:
- RecipeStep
public static interface RecipeStep.Builder extends SdkPojo, CopyableBuilder<RecipeStep.Builder,RecipeStep>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default RecipeStep.Builderaction(Consumer<RecipeAction.Builder> action)The particular action to be performed in the recipe step.RecipeStep.Builderaction(RecipeAction action)The particular action to be performed in the recipe step.RecipeStep.BuilderconditionExpressions(Collection<ConditionExpression> conditionExpressions)One or more conditions that must be met for the recipe step to succeed.RecipeStep.BuilderconditionExpressions(Consumer<ConditionExpression.Builder>... conditionExpressions)One or more conditions that must be met for the recipe step to succeed.RecipeStep.BuilderconditionExpressions(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
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
action
RecipeStep.Builder action(RecipeAction 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
default RecipeStep.Builder action(Consumer<RecipeAction.Builder> 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:
action(RecipeAction)
-
conditionExpressions
RecipeStep.Builder conditionExpressions(Collection<ConditionExpression> 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(ConditionExpression... 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 to#conditionExpressions(List.) - 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:
#conditionExpressions(java.util.Collection)
-
-