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.
This field is required.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 get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
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 get_recipe_versions(&self) -> &Option<Vec<String>>
pub fn get_recipe_versions(&self) -> &Option<Vec<String>>
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
.
source§impl BatchDeleteRecipeVersionInputBuilder
impl BatchDeleteRecipeVersionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<BatchDeleteRecipeVersionOutput, SdkError<BatchDeleteRecipeVersionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<BatchDeleteRecipeVersionOutput, SdkError<BatchDeleteRecipeVersionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for BatchDeleteRecipeVersionInputBuilder
impl Clone for BatchDeleteRecipeVersionInputBuilder
source§fn clone(&self) -> BatchDeleteRecipeVersionInputBuilder
fn clone(&self) -> BatchDeleteRecipeVersionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for BatchDeleteRecipeVersionInputBuilder
impl Default for BatchDeleteRecipeVersionInputBuilder
source§fn default() -> BatchDeleteRecipeVersionInputBuilder
fn default() -> BatchDeleteRecipeVersionInputBuilder
source§impl PartialEq for BatchDeleteRecipeVersionInputBuilder
impl PartialEq for BatchDeleteRecipeVersionInputBuilder
source§fn eq(&self, other: &BatchDeleteRecipeVersionInputBuilder) -> bool
fn eq(&self, other: &BatchDeleteRecipeVersionInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BatchDeleteRecipeVersionInputBuilder
Auto Trait Implementations§
impl Freeze for BatchDeleteRecipeVersionInputBuilder
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
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