Interface RecipeStep.Builder

    • 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.
      • 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).

        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:
        #conditionExpressions(java.util.Collection)