pub struct CreateRecipeFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateRecipe
.
Creates a new DataBrew recipe.
Implementations§
source§impl CreateRecipeFluentBuilder
impl CreateRecipeFluentBuilder
sourcepub fn as_input(&self) -> &CreateRecipeInputBuilder
pub fn as_input(&self) -> &CreateRecipeInputBuilder
Access the CreateRecipe as a reference.
sourcepub async fn send(
self
) -> Result<CreateRecipeOutput, SdkError<CreateRecipeError, HttpResponse>>
pub async fn send( self ) -> Result<CreateRecipeOutput, SdkError<CreateRecipeError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<CreateRecipeOutput, CreateRecipeError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateRecipeOutput, CreateRecipeError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description for the recipe.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description for the recipe.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A description for the recipe.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
A unique name for the recipe. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and space.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
A unique name for the recipe. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and space.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
A unique name for the recipe. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and space.
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
.
An array containing the steps to be performed by the recipe. Each recipe step consists of one recipe action and (optionally) an array of condition expressions.
sourcepub fn set_steps(self, input: Option<Vec<RecipeStep>>) -> Self
pub fn set_steps(self, input: Option<Vec<RecipeStep>>) -> Self
An array containing the steps to be performed by the recipe. Each recipe step consists of one recipe action and (optionally) an array of condition expressions.
sourcepub fn get_steps(&self) -> &Option<Vec<RecipeStep>>
pub fn get_steps(&self) -> &Option<Vec<RecipeStep>>
An array containing the steps to be performed by the recipe. Each recipe step consists of one recipe action and (optionally) an array of condition expressions.
Adds a key-value pair to Tags
.
To override the contents of this collection use set_tags
.
Metadata tags to apply to this recipe.
Metadata tags to apply to this recipe.
Metadata tags to apply to this recipe.
Trait Implementations§
source§impl Clone for CreateRecipeFluentBuilder
impl Clone for CreateRecipeFluentBuilder
source§fn clone(&self) -> CreateRecipeFluentBuilder
fn clone(&self) -> CreateRecipeFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more