Struct aws_sdk_lexruntimev2::model::runtime_hint_value::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for RuntimeHintValue.
Implementations§
source§impl Builder
impl Builder
sourcepub fn phrase(self, input: impl Into<String>) -> Self
pub fn phrase(self, input: impl Into<String>) -> Self
The phrase that Amazon Lex V2 should look for in the user's input to the bot.
sourcepub fn set_phrase(self, input: Option<String>) -> Self
pub fn set_phrase(self, input: Option<String>) -> Self
The phrase that Amazon Lex V2 should look for in the user's input to the bot.
sourcepub fn build(self) -> RuntimeHintValue
pub fn build(self) -> RuntimeHintValue
Consumes the builder and constructs a RuntimeHintValue.