Struct aws_sdk_databrew::operation::batch_delete_recipe_version::builders::BatchDeleteRecipeVersionInputBuilder
source · #[non_exhaustive]pub struct BatchDeleteRecipeVersionInputBuilder { /* private fields */ }
Expand description
A builder for BatchDeleteRecipeVersionInput
.
Implementations§
source§impl BatchDeleteRecipeVersionInputBuilder
impl BatchDeleteRecipeVersionInputBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the recipe whose versions are to be deleted.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the recipe whose versions are to be deleted.
sourcepub fn recipe_versions(self, input: impl Into<String>) -> Self
pub fn recipe_versions(self, input: impl Into<String>) -> Self
Appends an item to recipe_versions
.
To override the contents of this collection use set_recipe_versions
.
An array of version identifiers, for the recipe versions to be deleted. You can specify numeric versions (X.Y
) or LATEST_WORKING
. LATEST_PUBLISHED
is not supported.
sourcepub fn set_recipe_versions(self, input: Option<Vec<String>>) -> Self
pub fn set_recipe_versions(self, input: Option<Vec<String>>) -> Self
An array of version identifiers, for the recipe versions to be deleted. You can specify numeric versions (X.Y
) or LATEST_WORKING
. LATEST_PUBLISHED
is not supported.
sourcepub fn build(self) -> Result<BatchDeleteRecipeVersionInput, BuildError>
pub fn build(self) -> Result<BatchDeleteRecipeVersionInput, BuildError>
Consumes the builder and constructs a BatchDeleteRecipeVersionInput
.
Trait Implementations§
source§impl Clone for BatchDeleteRecipeVersionInputBuilder
impl Clone for BatchDeleteRecipeVersionInputBuilder
source§fn clone(&self) -> BatchDeleteRecipeVersionInputBuilder
fn clone(&self) -> BatchDeleteRecipeVersionInputBuilder
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 BatchDeleteRecipeVersionInputBuilder
impl Default for BatchDeleteRecipeVersionInputBuilder
source§fn default() -> BatchDeleteRecipeVersionInputBuilder
fn default() -> BatchDeleteRecipeVersionInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<BatchDeleteRecipeVersionInputBuilder> for BatchDeleteRecipeVersionInputBuilder
impl PartialEq<BatchDeleteRecipeVersionInputBuilder> for BatchDeleteRecipeVersionInputBuilder
source§fn eq(&self, other: &BatchDeleteRecipeVersionInputBuilder) -> bool
fn eq(&self, other: &BatchDeleteRecipeVersionInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BatchDeleteRecipeVersionInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for BatchDeleteRecipeVersionInputBuilder
impl Send for BatchDeleteRecipeVersionInputBuilder
impl Sync for BatchDeleteRecipeVersionInputBuilder
impl Unpin for BatchDeleteRecipeVersionInputBuilder
impl UnwindSafe for BatchDeleteRecipeVersionInputBuilder
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