#[non_exhaustive]pub struct UpdateRecipeInputBuilder { /* private fields */ }
Expand description
A builder for UpdateRecipeInput
.
Implementations§
source§impl UpdateRecipeInputBuilder
impl UpdateRecipeInputBuilder
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description of the recipe.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description of the recipe.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A description of the recipe.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the recipe to be updated.
This field is required.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
.
One or more steps to be performed by the recipe. Each step consists of an action, and the conditions under which the action should succeed.
sourcepub fn set_steps(self, input: Option<Vec<RecipeStep>>) -> Self
pub fn set_steps(self, input: Option<Vec<RecipeStep>>) -> Self
One or more steps to be performed by the recipe. Each step consists of an action, and the conditions under which the action should succeed.
sourcepub fn get_steps(&self) -> &Option<Vec<RecipeStep>>
pub fn get_steps(&self) -> &Option<Vec<RecipeStep>>
One or more steps to be performed by the recipe. Each step consists of an action, and the conditions under which the action should succeed.
sourcepub fn build(self) -> Result<UpdateRecipeInput, BuildError>
pub fn build(self) -> Result<UpdateRecipeInput, BuildError>
Consumes the builder and constructs a UpdateRecipeInput
.
source§impl UpdateRecipeInputBuilder
impl UpdateRecipeInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<UpdateRecipeOutput, SdkError<UpdateRecipeError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<UpdateRecipeOutput, SdkError<UpdateRecipeError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateRecipeInputBuilder
impl Clone for UpdateRecipeInputBuilder
source§fn clone(&self) -> UpdateRecipeInputBuilder
fn clone(&self) -> UpdateRecipeInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateRecipeInputBuilder
impl Debug for UpdateRecipeInputBuilder
source§impl Default for UpdateRecipeInputBuilder
impl Default for UpdateRecipeInputBuilder
source§fn default() -> UpdateRecipeInputBuilder
fn default() -> UpdateRecipeInputBuilder
source§impl PartialEq for UpdateRecipeInputBuilder
impl PartialEq for UpdateRecipeInputBuilder
impl StructuralPartialEq for UpdateRecipeInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateRecipeInputBuilder
impl RefUnwindSafe for UpdateRecipeInputBuilder
impl Send for UpdateRecipeInputBuilder
impl Sync for UpdateRecipeInputBuilder
impl Unpin for UpdateRecipeInputBuilder
impl UnwindSafe for UpdateRecipeInputBuilder
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