Struct aws_sdk_lexmodelsv2::model::audio_specification::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for AudioSpecification.
Implementations§
source§impl Builder
impl Builder
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 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 build(self) -> AudioSpecification
pub fn build(self) -> AudioSpecification
Consumes the builder and constructs a AudioSpecification.