#[non_exhaustive]pub struct CreateRecipeInputBuilder { /* private fields */ }
Expand description
A builder for CreateRecipeInput
.
Implementations§
source§impl CreateRecipeInputBuilder
impl CreateRecipeInputBuilder
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.
This field is required.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.
sourcepub fn build(self) -> Result<CreateRecipeInput, BuildError>
pub fn build(self) -> Result<CreateRecipeInput, BuildError>
Consumes the builder and constructs a CreateRecipeInput
.
source§impl CreateRecipeInputBuilder
impl CreateRecipeInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateRecipeOutput, SdkError<CreateRecipeError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateRecipeOutput, SdkError<CreateRecipeError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateRecipeInputBuilder
impl Clone for CreateRecipeInputBuilder
source§fn clone(&self) -> CreateRecipeInputBuilder
fn clone(&self) -> CreateRecipeInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateRecipeInputBuilder
impl Debug for CreateRecipeInputBuilder
source§impl Default for CreateRecipeInputBuilder
impl Default for CreateRecipeInputBuilder
source§fn default() -> CreateRecipeInputBuilder
fn default() -> CreateRecipeInputBuilder
source§impl PartialEq for CreateRecipeInputBuilder
impl PartialEq for CreateRecipeInputBuilder
source§fn eq(&self, other: &CreateRecipeInputBuilder) -> bool
fn eq(&self, other: &CreateRecipeInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.