Interface Recipe.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Recipe.Builder,
,Recipe> SdkBuilder<Recipe.Builder,
,Recipe> SdkPojo
- Enclosing class:
Recipe
-
Method Summary
Modifier and TypeMethodDescriptioncreateDate
(Instant createDate) The date and time that the recipe was created.The Amazon Resource Name (ARN) of the user who created the recipe.description
(String description) The description of the recipe.lastModifiedBy
(String lastModifiedBy) The Amazon Resource Name (ARN) of the user who last modified the recipe.lastModifiedDate
(Instant lastModifiedDate) The last modification date and time of the recipe.The unique name for the recipe.projectName
(String projectName) The name of the project that the recipe is associated with.publishedBy
(String publishedBy) The Amazon Resource Name (ARN) of the user who published the recipe.publishedDate
(Instant publishedDate) The date and time when the recipe was published.recipeVersion
(String recipeVersion) The identifier for the version for the recipe.resourceArn
(String resourceArn) The Amazon Resource Name (ARN) for the recipe.steps
(Collection<RecipeStep> steps) A list of steps that are defined by the recipe.steps
(Consumer<RecipeStep.Builder>... steps) A list of steps that are defined by the recipe.steps
(RecipeStep... steps) A list of steps that are defined by the recipe.Metadata tags that have been applied to the recipe.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
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
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
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
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
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
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
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
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
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 theRecipeStep.Builder
avoiding the need to create one manually viaRecipeStep.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosteps(List<RecipeStep>)
.- Parameters:
steps
- a consumer that will call methods onRecipeStep.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
The identifier for the version for the recipe. Must be one of the following:
-
Numeric version (
X.Y
) -X
andY
stand for major and minor version numbers. The maximum length of each is 6 digits, and neither can be negative values. BothX
andY
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
andY
stand for major and minor version numbers. The maximum length of each is 6 digits, and neither can be negative values. BothX
andY
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.
-
-