Struct aws_sdk_databrew::operation::batch_delete_recipe_version::builders::BatchDeleteRecipeVersionOutputBuilder
source · #[non_exhaustive]pub struct BatchDeleteRecipeVersionOutputBuilder { /* private fields */ }
Expand description
A builder for BatchDeleteRecipeVersionOutput
.
Implementations§
source§impl BatchDeleteRecipeVersionOutputBuilder
impl BatchDeleteRecipeVersionOutputBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the recipe that was modified.
This field is required.sourcepub fn errors(self, input: RecipeVersionErrorDetail) -> Self
pub fn errors(self, input: RecipeVersionErrorDetail) -> Self
Appends an item to errors
.
To override the contents of this collection use set_errors
.
Errors, if any, that occurred while attempting to delete the recipe versions.
sourcepub fn set_errors(self, input: Option<Vec<RecipeVersionErrorDetail>>) -> Self
pub fn set_errors(self, input: Option<Vec<RecipeVersionErrorDetail>>) -> Self
Errors, if any, that occurred while attempting to delete the recipe versions.
sourcepub fn get_errors(&self) -> &Option<Vec<RecipeVersionErrorDetail>>
pub fn get_errors(&self) -> &Option<Vec<RecipeVersionErrorDetail>>
Errors, if any, that occurred while attempting to delete the recipe versions.
sourcepub fn build(self) -> Result<BatchDeleteRecipeVersionOutput, BuildError>
pub fn build(self) -> Result<BatchDeleteRecipeVersionOutput, BuildError>
Consumes the builder and constructs a BatchDeleteRecipeVersionOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for BatchDeleteRecipeVersionOutputBuilder
impl Clone for BatchDeleteRecipeVersionOutputBuilder
source§fn clone(&self) -> BatchDeleteRecipeVersionOutputBuilder
fn clone(&self) -> BatchDeleteRecipeVersionOutputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for BatchDeleteRecipeVersionOutputBuilder
impl Default for BatchDeleteRecipeVersionOutputBuilder
source§fn default() -> BatchDeleteRecipeVersionOutputBuilder
fn default() -> BatchDeleteRecipeVersionOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for BatchDeleteRecipeVersionOutputBuilder
impl PartialEq for BatchDeleteRecipeVersionOutputBuilder
source§fn eq(&self, other: &BatchDeleteRecipeVersionOutputBuilder) -> bool
fn eq(&self, other: &BatchDeleteRecipeVersionOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BatchDeleteRecipeVersionOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for BatchDeleteRecipeVersionOutputBuilder
impl Send for BatchDeleteRecipeVersionOutputBuilder
impl Sync for BatchDeleteRecipeVersionOutputBuilder
impl Unpin for BatchDeleteRecipeVersionOutputBuilder
impl UnwindSafe for BatchDeleteRecipeVersionOutputBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.