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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Recipe.BuildercreateDate(Instant createDate)The date and time that the recipe was created.Recipe.BuildercreatedBy(String createdBy)The Amazon Resource Name (ARN) of the user who created the recipe.Recipe.Builderdescription(String description)The description of the recipe.Recipe.BuilderlastModifiedBy(String lastModifiedBy)The Amazon Resource Name (ARN) of the user who last modified the recipe.Recipe.BuilderlastModifiedDate(Instant lastModifiedDate)The last modification date and time of the recipe.Recipe.Buildername(String name)The unique name for the recipe.Recipe.BuilderprojectName(String projectName)The name of the project that the recipe is associated with.Recipe.BuilderpublishedBy(String publishedBy)The Amazon Resource Name (ARN) of the user who published the recipe.Recipe.BuilderpublishedDate(Instant publishedDate)The date and time when the recipe was published.Recipe.BuilderrecipeVersion(String recipeVersion)The identifier for the version for the recipe.Recipe.BuilderresourceArn(String resourceArn)The Amazon Resource Name (ARN) for the recipe.Recipe.Buildersteps(Collection<RecipeStep> steps)A list of steps that are defined by the recipe.Recipe.Buildersteps(Consumer<RecipeStep.Builder>... steps)A list of steps that are defined by the recipe.Recipe.Buildersteps(RecipeStep... steps)A list of steps that are defined by the recipe.Recipe.Buildertags(Map<String,String> tags)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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
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
Recipe.Builder steps(Collection<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
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
Recipe.Builder steps(Consumer<RecipeStep.Builder>... steps)
A list of steps that are defined by the recipe.
This is a convenience method that creates an instance of theRecipeStep.Builderavoiding the need to create one manually viaRecipeStep.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#steps(List.) - 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:
#steps(java.util.Collection)
-
tags
Recipe.Builder tags(Map<String,String> 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) -XandYstand for major and minor version numbers. The maximum length of each is 6 digits, and neither can be negative values. BothXandYare 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) -XandYstand for major and minor version numbers. The maximum length of each is 6 digits, and neither can be negative values. BothXandYare 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.
-
-
-