Interface Recipe.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Recipe.Builder,Recipe>, SdkBuilder<Recipe.Builder,Recipe>, SdkPojo
Enclosing class:
Recipe

@Mutable @NotThreadSafe public static interface Recipe.Builder extends SdkPojo, CopyableBuilder<Recipe.Builder,Recipe>
  • Method Details

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

      default Recipe.Builder recipeReference(Consumer<RecipeReference.Builder> recipeReference)

      A reference to the DataBrew recipe used by the node.

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

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

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

      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: