Struct aws_sdk_lexmodelsv2::types::builders::VoiceSettingsBuilder
source · #[non_exhaustive]pub struct VoiceSettingsBuilder { /* private fields */ }Expand description
A builder for VoiceSettings.
Implementations§
source§impl VoiceSettingsBuilder
impl VoiceSettingsBuilder
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.
Trait Implementations§
source§impl Clone for VoiceSettingsBuilder
impl Clone for VoiceSettingsBuilder
source§fn clone(&self) -> VoiceSettingsBuilder
fn clone(&self) -> VoiceSettingsBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for VoiceSettingsBuilder
impl Debug for VoiceSettingsBuilder
source§impl Default for VoiceSettingsBuilder
impl Default for VoiceSettingsBuilder
source§fn default() -> VoiceSettingsBuilder
fn default() -> VoiceSettingsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<VoiceSettingsBuilder> for VoiceSettingsBuilder
impl PartialEq<VoiceSettingsBuilder> for VoiceSettingsBuilder
source§fn eq(&self, other: &VoiceSettingsBuilder) -> bool
fn eq(&self, other: &VoiceSettingsBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for VoiceSettingsBuilder
Auto Trait Implementations§
impl RefUnwindSafe for VoiceSettingsBuilder
impl Send for VoiceSettingsBuilder
impl Sync for VoiceSettingsBuilder
impl Unpin for VoiceSettingsBuilder
impl UnwindSafe for VoiceSettingsBuilder
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
Mutably borrows from an owned value. Read more