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