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 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 the RecipeAction.Builder avoiding the need to create one manually via RecipeAction.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to action(RecipeAction).

      Parameters:
      action - a consumer that will call methods on RecipeAction.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.

      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.

      This is a convenience method that creates an instance of the ConditionExpression.Builder avoiding the need to create one manually via ConditionExpression.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to conditionExpressions(List<ConditionExpression>).

      Parameters:
      conditionExpressions - a consumer that will call methods on ConditionExpression.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: