Struct aws_sdk_lexmodelsv2::operation::delete_bot_version::builders::DeleteBotVersionOutputBuilder
source · #[non_exhaustive]pub struct DeleteBotVersionOutputBuilder { /* private fields */ }
Expand description
A builder for DeleteBotVersionOutput
.
Implementations§
source§impl DeleteBotVersionOutputBuilder
impl DeleteBotVersionOutputBuilder
sourcepub fn bot_id(self, input: impl Into<String>) -> Self
pub fn bot_id(self, input: impl Into<String>) -> Self
The identifier of the bot that is being deleted.
sourcepub fn set_bot_id(self, input: Option<String>) -> Self
pub fn set_bot_id(self, input: Option<String>) -> Self
The identifier of the bot that is being deleted.
sourcepub fn get_bot_id(&self) -> &Option<String>
pub fn get_bot_id(&self) -> &Option<String>
The identifier of the bot that is being deleted.
sourcepub fn bot_version(self, input: impl Into<String>) -> Self
pub fn bot_version(self, input: impl Into<String>) -> Self
The version of the bot that is being deleted.
sourcepub fn set_bot_version(self, input: Option<String>) -> Self
pub fn set_bot_version(self, input: Option<String>) -> Self
The version of the bot that is being deleted.
sourcepub fn get_bot_version(&self) -> &Option<String>
pub fn get_bot_version(&self) -> &Option<String>
The version of the bot that is being deleted.
sourcepub fn bot_status(self, input: BotStatus) -> Self
pub fn bot_status(self, input: BotStatus) -> Self
The current status of the bot.
sourcepub fn set_bot_status(self, input: Option<BotStatus>) -> Self
pub fn set_bot_status(self, input: Option<BotStatus>) -> Self
The current status of the bot.
sourcepub fn get_bot_status(&self) -> &Option<BotStatus>
pub fn get_bot_status(&self) -> &Option<BotStatus>
The current status of the bot.
sourcepub fn build(self) -> DeleteBotVersionOutput
pub fn build(self) -> DeleteBotVersionOutput
Consumes the builder and constructs a DeleteBotVersionOutput
.
Trait Implementations§
source§impl Clone for DeleteBotVersionOutputBuilder
impl Clone for DeleteBotVersionOutputBuilder
source§fn clone(&self) -> DeleteBotVersionOutputBuilder
fn clone(&self) -> DeleteBotVersionOutputBuilder
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 DeleteBotVersionOutputBuilder
impl Default for DeleteBotVersionOutputBuilder
source§fn default() -> DeleteBotVersionOutputBuilder
fn default() -> DeleteBotVersionOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DeleteBotVersionOutputBuilder
impl PartialEq for DeleteBotVersionOutputBuilder
source§fn eq(&self, other: &DeleteBotVersionOutputBuilder) -> bool
fn eq(&self, other: &DeleteBotVersionOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DeleteBotVersionOutputBuilder
Auto Trait Implementations§
impl Freeze for DeleteBotVersionOutputBuilder
impl RefUnwindSafe for DeleteBotVersionOutputBuilder
impl Send for DeleteBotVersionOutputBuilder
impl Sync for DeleteBotVersionOutputBuilder
impl Unpin for DeleteBotVersionOutputBuilder
impl UnwindSafe for DeleteBotVersionOutputBuilder
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>
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.