Struct aws_sdk_lexmodelsv2::operation::generate_bot_element::builders::GenerateBotElementOutputBuilder
source · #[non_exhaustive]pub struct GenerateBotElementOutputBuilder { /* private fields */ }
Expand description
A builder for GenerateBotElementOutput
.
Implementations§
source§impl GenerateBotElementOutputBuilder
impl GenerateBotElementOutputBuilder
sourcepub fn bot_id(self, input: impl Into<String>) -> Self
pub fn bot_id(self, input: impl Into<String>) -> Self
The unique bot Id for the bot which received the response.
sourcepub fn set_bot_id(self, input: Option<String>) -> Self
pub fn set_bot_id(self, input: Option<String>) -> Self
The unique bot Id for the bot which received the response.
sourcepub fn get_bot_id(&self) -> &Option<String>
pub fn get_bot_id(&self) -> &Option<String>
The unique bot Id for the bot which received the response.
sourcepub fn bot_version(self, input: impl Into<String>) -> Self
pub fn bot_version(self, input: impl Into<String>) -> Self
The unique bot version for the bot which received the response.
sourcepub fn set_bot_version(self, input: Option<String>) -> Self
pub fn set_bot_version(self, input: Option<String>) -> Self
The unique bot version for the bot which received the response.
sourcepub fn get_bot_version(&self) -> &Option<String>
pub fn get_bot_version(&self) -> &Option<String>
The unique bot version for the bot which received the response.
sourcepub fn locale_id(self, input: impl Into<String>) -> Self
pub fn locale_id(self, input: impl Into<String>) -> Self
The unique locale Id for the bot which received the response.
sourcepub fn set_locale_id(self, input: Option<String>) -> Self
pub fn set_locale_id(self, input: Option<String>) -> Self
The unique locale Id for the bot which received the response.
sourcepub fn get_locale_id(&self) -> &Option<String>
pub fn get_locale_id(&self) -> &Option<String>
The unique locale Id for the bot which received the response.
sourcepub fn intent_id(self, input: impl Into<String>) -> Self
pub fn intent_id(self, input: impl Into<String>) -> Self
The unique intent Id for the bot which received the response.
sourcepub fn set_intent_id(self, input: Option<String>) -> Self
pub fn set_intent_id(self, input: Option<String>) -> Self
The unique intent Id for the bot which received the response.
sourcepub fn get_intent_id(&self) -> &Option<String>
pub fn get_intent_id(&self) -> &Option<String>
The unique intent Id for the bot which received the response.
sourcepub fn sample_utterances(self, input: SampleUtterance) -> Self
pub fn sample_utterances(self, input: SampleUtterance) -> Self
Appends an item to sample_utterances
.
To override the contents of this collection use set_sample_utterances
.
The sample utterances for the bot which received the response.
sourcepub fn set_sample_utterances(self, input: Option<Vec<SampleUtterance>>) -> Self
pub fn set_sample_utterances(self, input: Option<Vec<SampleUtterance>>) -> Self
The sample utterances for the bot which received the response.
sourcepub fn get_sample_utterances(&self) -> &Option<Vec<SampleUtterance>>
pub fn get_sample_utterances(&self) -> &Option<Vec<SampleUtterance>>
The sample utterances for the bot which received the response.
sourcepub fn build(self) -> GenerateBotElementOutput
pub fn build(self) -> GenerateBotElementOutput
Consumes the builder and constructs a GenerateBotElementOutput
.
Trait Implementations§
source§impl Clone for GenerateBotElementOutputBuilder
impl Clone for GenerateBotElementOutputBuilder
source§fn clone(&self) -> GenerateBotElementOutputBuilder
fn clone(&self) -> GenerateBotElementOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GenerateBotElementOutputBuilder
impl Default for GenerateBotElementOutputBuilder
source§fn default() -> GenerateBotElementOutputBuilder
fn default() -> GenerateBotElementOutputBuilder
source§impl PartialEq for GenerateBotElementOutputBuilder
impl PartialEq for GenerateBotElementOutputBuilder
source§fn eq(&self, other: &GenerateBotElementOutputBuilder) -> bool
fn eq(&self, other: &GenerateBotElementOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GenerateBotElementOutputBuilder
Auto Trait Implementations§
impl Freeze for GenerateBotElementOutputBuilder
impl RefUnwindSafe for GenerateBotElementOutputBuilder
impl Send for GenerateBotElementOutputBuilder
impl Sync for GenerateBotElementOutputBuilder
impl Unpin for GenerateBotElementOutputBuilder
impl UnwindSafe for GenerateBotElementOutputBuilder
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