#[non_exhaustive]pub struct AudioSpecificationBuilder { /* private fields */ }Expand description
A builder for AudioSpecification.
Implementations§
source§impl AudioSpecificationBuilder
impl AudioSpecificationBuilder
sourcepub fn max_length_ms(self, input: i32) -> Self
pub fn max_length_ms(self, input: i32) -> Self
Time for how long Amazon Lex waits before speech input is truncated and the speech is returned to application.
sourcepub fn set_max_length_ms(self, input: Option<i32>) -> Self
pub fn set_max_length_ms(self, input: Option<i32>) -> Self
Time for how long Amazon Lex waits before speech input is truncated and the speech is returned to application.
sourcepub fn get_max_length_ms(&self) -> &Option<i32>
pub fn get_max_length_ms(&self) -> &Option<i32>
Time for how long Amazon Lex waits before speech input is truncated and the speech is returned to application.
sourcepub fn end_timeout_ms(self, input: i32) -> Self
pub fn end_timeout_ms(self, input: i32) -> Self
Time for which a bot waits after the customer stops speaking to assume the utterance is finished.
sourcepub fn set_end_timeout_ms(self, input: Option<i32>) -> Self
pub fn set_end_timeout_ms(self, input: Option<i32>) -> Self
Time for which a bot waits after the customer stops speaking to assume the utterance is finished.
sourcepub fn get_end_timeout_ms(&self) -> &Option<i32>
pub fn get_end_timeout_ms(&self) -> &Option<i32>
Time for which a bot waits after the customer stops speaking to assume the utterance is finished.
sourcepub fn build(self) -> AudioSpecification
pub fn build(self) -> AudioSpecification
Consumes the builder and constructs a AudioSpecification.
Trait Implementations§
source§impl Clone for AudioSpecificationBuilder
impl Clone for AudioSpecificationBuilder
source§fn clone(&self) -> AudioSpecificationBuilder
fn clone(&self) -> AudioSpecificationBuilder
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 AudioSpecificationBuilder
impl Debug for AudioSpecificationBuilder
source§impl Default for AudioSpecificationBuilder
impl Default for AudioSpecificationBuilder
source§fn default() -> AudioSpecificationBuilder
fn default() -> AudioSpecificationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AudioSpecificationBuilder
impl PartialEq for AudioSpecificationBuilder
source§fn eq(&self, other: &AudioSpecificationBuilder) -> bool
fn eq(&self, other: &AudioSpecificationBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AudioSpecificationBuilder
Auto Trait Implementations§
impl RefUnwindSafe for AudioSpecificationBuilder
impl Send for AudioSpecificationBuilder
impl Sync for AudioSpecificationBuilder
impl Unpin for AudioSpecificationBuilder
impl UnwindSafe for AudioSpecificationBuilder
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