Struct aws_sdk_databrew::client::fluent_builders::CreateRecipe
source · pub struct CreateRecipe { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateRecipe
.
Creates a new DataBrew recipe.
Implementations§
source§impl CreateRecipe
impl CreateRecipe
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<CreateRecipe, AwsResponseRetryClassifier>, SdkError<CreateRecipeError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<CreateRecipe, AwsResponseRetryClassifier>, SdkError<CreateRecipeError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<CreateRecipeOutput, SdkError<CreateRecipeError>>
pub async fn send(
self
) -> Result<CreateRecipeOutput, SdkError<CreateRecipeError>>
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 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 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 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.
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.
Trait Implementations§
source§impl Clone for CreateRecipe
impl Clone for CreateRecipe
source§fn clone(&self) -> CreateRecipe
fn clone(&self) -> CreateRecipe
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more