Struct aws_sdk_databrew::types::builders::RecipeBuilder
source · #[non_exhaustive]pub struct RecipeBuilder { /* private fields */ }
Expand description
A builder for Recipe
.
Implementations§
source§impl RecipeBuilder
impl RecipeBuilder
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 get_created_by(&self) -> &Option<String>
pub fn get_created_by(&self) -> &Option<String>
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 get_create_date(&self) -> &Option<DateTime>
pub fn get_create_date(&self) -> &Option<DateTime>
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 get_last_modified_by(&self) -> &Option<String>
pub fn get_last_modified_by(&self) -> &Option<String>
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 get_last_modified_date(&self) -> &Option<DateTime>
pub fn get_last_modified_date(&self) -> &Option<DateTime>
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 get_project_name(&self) -> &Option<String>
pub fn get_project_name(&self) -> &Option<String>
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 get_published_by(&self) -> &Option<String>
pub fn get_published_by(&self) -> &Option<String>
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 get_published_date(&self) -> &Option<DateTime>
pub fn get_published_date(&self) -> &Option<DateTime>
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 get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the recipe.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The unique name for the recipe.
This field is required.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 get_resource_arn(&self) -> &Option<String>
pub fn get_resource_arn(&self) -> &Option<String>
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.
sourcepub fn get_steps(&self) -> &Option<Vec<RecipeStep>>
pub fn get_steps(&self) -> &Option<Vec<RecipeStep>>
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.
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.
sourcepub fn get_recipe_version(&self) -> &Option<String>
pub fn get_recipe_version(&self) -> &Option<String>
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.
Trait Implementations§
source§impl Clone for RecipeBuilder
impl Clone for RecipeBuilder
source§fn clone(&self) -> RecipeBuilder
fn clone(&self) -> RecipeBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RecipeBuilder
impl Debug for RecipeBuilder
source§impl Default for RecipeBuilder
impl Default for RecipeBuilder
source§fn default() -> RecipeBuilder
fn default() -> RecipeBuilder
source§impl PartialEq for RecipeBuilder
impl PartialEq for RecipeBuilder
source§fn eq(&self, other: &RecipeBuilder) -> bool
fn eq(&self, other: &RecipeBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.