Struct aws_sdk_lexmodelsv2::model::voice_settings::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for VoiceSettings.
Implementations§
source§impl Builder
impl Builder
sourcepub fn voice_id(self, input: impl Into<String>) -> Self
pub fn voice_id(self, input: impl Into<String>) -> Self
The identifier of the Amazon Polly voice to use.
sourcepub fn set_voice_id(self, input: Option<String>) -> Self
pub fn set_voice_id(self, input: Option<String>) -> Self
The identifier of the Amazon Polly voice to use.
sourcepub fn engine(self, input: VoiceEngine) -> Self
pub fn engine(self, input: VoiceEngine) -> Self
Indicates the type of Amazon Polly voice that Amazon Lex should use for voice interaction with the user. For more information, see the engine parameter of the SynthesizeSpeech operation in the Amazon Polly developer guide.
If you do not specify a value, the default is standard.
sourcepub fn set_engine(self, input: Option<VoiceEngine>) -> Self
pub fn set_engine(self, input: Option<VoiceEngine>) -> Self
Indicates the type of Amazon Polly voice that Amazon Lex should use for voice interaction with the user. For more information, see the engine parameter of the SynthesizeSpeech operation in the Amazon Polly developer guide.
If you do not specify a value, the default is standard.
sourcepub fn build(self) -> VoiceSettings
pub fn build(self) -> VoiceSettings
Consumes the builder and constructs a VoiceSettings.