Struct aws_sdk_lexmodelsv2::model::sample_utterance::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for SampleUtterance.
Implementations§
source§impl Builder
impl Builder
sourcepub fn utterance(self, input: impl Into<String>) -> Self
pub fn utterance(self, input: impl Into<String>) -> Self
The sample utterance that Amazon Lex uses to build its machine-learning model to recognize intents.
sourcepub fn set_utterance(self, input: Option<String>) -> Self
pub fn set_utterance(self, input: Option<String>) -> Self
The sample utterance that Amazon Lex uses to build its machine-learning model to recognize intents.
sourcepub fn build(self) -> SampleUtterance
pub fn build(self) -> SampleUtterance
Consumes the builder and constructs a SampleUtterance.