Interface UpdateRecipeRequest.Builder

    • Method Detail

      • description

        UpdateRecipeRequest.Builder description​(String description)

        A description of the recipe.

        Parameters:
        description - A description of the recipe.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        UpdateRecipeRequest.Builder name​(String name)

        The name of the recipe to be updated.

        Parameters:
        name - The name of the recipe to be updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • steps

        UpdateRecipeRequest.Builder steps​(Collection<RecipeStep> steps)

        One or more steps to be performed by the recipe. Each step consists of an action, and the conditions under which the action should succeed.

        Parameters:
        steps - One or more steps to be performed by the recipe. Each step consists of an action, and the conditions under which the action should succeed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • steps

        UpdateRecipeRequest.Builder steps​(RecipeStep... steps)

        One or more steps to be performed by the recipe. Each step consists of an action, and the conditions under which the action should succeed.

        Parameters:
        steps - One or more steps to be performed by the recipe. Each step consists of an action, and the conditions under which the action should succeed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • steps

        UpdateRecipeRequest.Builder steps​(Consumer<RecipeStep.Builder>... steps)

        One or more steps to be performed by the recipe. Each step consists of an action, and the conditions under which the action should succeed.

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

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #steps(List).

        Parameters:
        steps - a consumer that will call methods on RecipeStep.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #steps(java.util.Collection)