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 ==
.