#[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
source§fn eq(&self, other: &UpdateRecipeInputBuilder) -> bool
fn eq(&self, other: &UpdateRecipeInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.