Struct aws_sdk_databrew::model::recipe::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for Recipe
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn created_by(self, input: impl Into<String>) -> Self
pub fn created_by(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the user who created the recipe.
sourcepub fn set_created_by(self, input: Option<String>) -> Self
pub fn set_created_by(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the user who created the recipe.
sourcepub fn create_date(self, input: DateTime) -> Self
pub fn create_date(self, input: DateTime) -> Self
The date and time that the recipe was created.
sourcepub fn set_create_date(self, input: Option<DateTime>) -> Self
pub fn set_create_date(self, input: Option<DateTime>) -> Self
The date and time that the recipe was created.
sourcepub fn last_modified_by(self, input: impl Into<String>) -> Self
pub fn last_modified_by(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the user who last modified the recipe.
sourcepub fn set_last_modified_by(self, input: Option<String>) -> Self
pub fn set_last_modified_by(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the user who last modified the recipe.
sourcepub fn last_modified_date(self, input: DateTime) -> Self
pub fn last_modified_date(self, input: DateTime) -> Self
The last modification date and time of the recipe.
sourcepub fn set_last_modified_date(self, input: Option<DateTime>) -> Self
pub fn set_last_modified_date(self, input: Option<DateTime>) -> Self
The last modification date and time of the recipe.
sourcepub fn project_name(self, input: impl Into<String>) -> Self
pub fn project_name(self, input: impl Into<String>) -> Self
The name of the project that the recipe is associated with.
sourcepub fn set_project_name(self, input: Option<String>) -> Self
pub fn set_project_name(self, input: Option<String>) -> Self
The name of the project that the recipe is associated with.
sourcepub fn published_by(self, input: impl Into<String>) -> Self
pub fn published_by(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the user who published the recipe.
sourcepub fn set_published_by(self, input: Option<String>) -> Self
pub fn set_published_by(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the user who published the recipe.
sourcepub fn published_date(self, input: DateTime) -> Self
pub fn published_date(self, input: DateTime) -> Self
The date and time when the recipe was published.
sourcepub fn set_published_date(self, input: Option<DateTime>) -> Self
pub fn set_published_date(self, input: Option<DateTime>) -> Self
The date and time when the recipe was published.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the recipe.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the recipe.
sourcepub fn resource_arn(self, input: impl Into<String>) -> Self
pub fn resource_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) for the recipe.
sourcepub fn set_resource_arn(self, input: Option<String>) -> Self
pub fn set_resource_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) for the recipe.
sourcepub fn steps(self, input: RecipeStep) -> Self
pub fn steps(self, input: RecipeStep) -> Self
Appends an item to steps
.
To override the contents of this collection use set_steps
.
A list of steps that are defined by the recipe.
sourcepub fn set_steps(self, input: Option<Vec<RecipeStep>>) -> Self
pub fn set_steps(self, input: Option<Vec<RecipeStep>>) -> Self
A list of steps that are defined by the recipe.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
Metadata tags that have been applied to the recipe.
Metadata tags that have been applied to the recipe.
sourcepub fn recipe_version(self, input: impl Into<String>) -> Self
pub fn recipe_version(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_recipe_version(self, input: Option<String>) -> Self
pub fn set_recipe_version(self, input: Option<String>) -> Self
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.