Interface Recipe.Builder

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

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

    • createdBy

      Recipe.Builder createdBy(String createdBy)

      The Amazon Resource Name (ARN) of the user who created the recipe.

      Parameters:
      createdBy - The Amazon Resource Name (ARN) of the user who created the recipe.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createDate

      Recipe.Builder createDate(Instant createDate)

      The date and time that the recipe was created.

      Parameters:
      createDate - The date and time that the recipe was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastModifiedBy

      Recipe.Builder lastModifiedBy(String lastModifiedBy)

      The Amazon Resource Name (ARN) of the user who last modified the recipe.

      Parameters:
      lastModifiedBy - The Amazon Resource Name (ARN) of the user who last modified the recipe.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastModifiedDate

      Recipe.Builder lastModifiedDate(Instant lastModifiedDate)

      The last modification date and time of the recipe.

      Parameters:
      lastModifiedDate - The last modification date and time of the recipe.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • projectName

      Recipe.Builder projectName(String projectName)

      The name of the project that the recipe is associated with.

      Parameters:
      projectName - The name of the project that the recipe is associated with.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • publishedBy

      Recipe.Builder publishedBy(String publishedBy)

      The Amazon Resource Name (ARN) of the user who published the recipe.

      Parameters:
      publishedBy - The Amazon Resource Name (ARN) of the user who published the recipe.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • publishedDate

      Recipe.Builder publishedDate(Instant publishedDate)

      The date and time when the recipe was published.

      Parameters:
      publishedDate - The date and time when the recipe was published.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      Recipe.Builder description(String description)

      The description of the recipe.

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

      Recipe.Builder name(String name)

      The unique name for the recipe.

      Parameters:
      name - The unique name for the recipe.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceArn

      Recipe.Builder resourceArn(String resourceArn)

      The Amazon Resource Name (ARN) for the recipe.

      Parameters:
      resourceArn - The Amazon Resource Name (ARN) for the recipe.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • steps

      A list of steps that are defined by the recipe.

      Parameters:
      steps - A list of steps that are defined by the recipe.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • steps

      Recipe.Builder steps(RecipeStep... steps)

      A list of steps that are defined by the recipe.

      Parameters:
      steps - A list of steps that are defined by the recipe.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • steps

      A list of steps that are defined by the recipe.

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

      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:
    • tags

      Metadata tags that have been applied to the recipe.

      Parameters:
      tags - Metadata tags that have been applied to the recipe.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • recipeVersion

      Recipe.Builder recipeVersion(String recipeVersion)

      The identifier for the version for the recipe. Must be one of the following:

      • Numeric version (X.Y) - X and Y stand for major and minor version numbers. The maximum length of each is 6 digits, and neither can be negative values. Both X and Y are required, and "0.0" isn't a valid version.

      • LATEST_WORKING - the most recent valid version being developed in a DataBrew project.

      • LATEST_PUBLISHED - the most recent published version.

      Parameters:
      recipeVersion - The identifier for the version for the recipe. Must be one of the following:

      • Numeric version (X.Y) - X and Y stand for major and minor version numbers. The maximum length of each is 6 digits, and neither can be negative values. Both X and Y are required, and "0.0" isn't a valid version.

      • LATEST_WORKING - the most recent valid version being developed in a DataBrew project.

      • LATEST_PUBLISHED - the most recent published version.

      Returns:
      Returns a reference to this object so that method calls can be chained together.