Interface Recipe.Builder

    • Method Detail

      • name

        Recipe.Builder name​(String name)

        The name of the Glue Studio node.

        Parameters:
        name - The name of the Glue Studio node.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • inputs

        Recipe.Builder inputs​(Collection<String> inputs)

        The nodes that are inputs to the recipe node, identified by id.

        Parameters:
        inputs - The nodes that are inputs to the recipe node, identified by id.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • inputs

        Recipe.Builder inputs​(String... inputs)

        The nodes that are inputs to the recipe node, identified by id.

        Parameters:
        inputs - The nodes that are inputs to the recipe node, identified by id.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • recipeReference

        Recipe.Builder recipeReference​(RecipeReference recipeReference)

        A reference to the DataBrew recipe used by the node.

        Parameters:
        recipeReference - A reference to the DataBrew recipe used by the node.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • recipeSteps

        Recipe.Builder recipeSteps​(Collection<RecipeStep> recipeSteps)

        Transform steps used in the recipe node.

        Parameters:
        recipeSteps - Transform steps used in the recipe node.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • recipeSteps

        Recipe.Builder recipeSteps​(RecipeStep... recipeSteps)

        Transform steps used in the recipe node.

        Parameters:
        recipeSteps - Transform steps used in the recipe node.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • recipeSteps

        Recipe.Builder recipeSteps​(Consumer<RecipeStep.Builder>... recipeSteps)

        Transform steps used in the recipe node.

        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 #recipeSteps(List).

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