#[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
impl StructuralPartialEq for CreateRecipeInputBuilder
Auto Trait Implementations§
impl Freeze for CreateRecipeInputBuilder
impl RefUnwindSafe for CreateRecipeInputBuilder
impl Send for CreateRecipeInputBuilder
impl Sync for CreateRecipeInputBuilder
impl Unpin for CreateRecipeInputBuilder
impl UnwindSafe for CreateRecipeInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more