#[non_exhaustive]pub struct UtteranceAudioInputSpecificationBuilder { /* private fields */ }Expand description
A builder for UtteranceAudioInputSpecification.
Implementations§
source§impl UtteranceAudioInputSpecificationBuilder
impl UtteranceAudioInputSpecificationBuilder
sourcepub fn audio_file_s3_location(self, input: impl Into<String>) -> Self
pub fn audio_file_s3_location(self, input: impl Into<String>) -> Self
Amazon S3 file pointing to the audio.
This field is required.sourcepub fn set_audio_file_s3_location(self, input: Option<String>) -> Self
pub fn set_audio_file_s3_location(self, input: Option<String>) -> Self
Amazon S3 file pointing to the audio.
sourcepub fn get_audio_file_s3_location(&self) -> &Option<String>
pub fn get_audio_file_s3_location(&self) -> &Option<String>
Amazon S3 file pointing to the audio.
sourcepub fn build(self) -> Result<UtteranceAudioInputSpecification, BuildError>
pub fn build(self) -> Result<UtteranceAudioInputSpecification, BuildError>
Consumes the builder and constructs a UtteranceAudioInputSpecification.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for UtteranceAudioInputSpecificationBuilder
impl Clone for UtteranceAudioInputSpecificationBuilder
source§fn clone(&self) -> UtteranceAudioInputSpecificationBuilder
fn clone(&self) -> UtteranceAudioInputSpecificationBuilder
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 Default for UtteranceAudioInputSpecificationBuilder
impl Default for UtteranceAudioInputSpecificationBuilder
source§fn default() -> UtteranceAudioInputSpecificationBuilder
fn default() -> UtteranceAudioInputSpecificationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UtteranceAudioInputSpecificationBuilder
impl PartialEq for UtteranceAudioInputSpecificationBuilder
source§fn eq(&self, other: &UtteranceAudioInputSpecificationBuilder) -> bool
fn eq(&self, other: &UtteranceAudioInputSpecificationBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UtteranceAudioInputSpecificationBuilder
Auto Trait Implementations§
impl Freeze for UtteranceAudioInputSpecificationBuilder
impl RefUnwindSafe for UtteranceAudioInputSpecificationBuilder
impl Send for UtteranceAudioInputSpecificationBuilder
impl Sync for UtteranceAudioInputSpecificationBuilder
impl Unpin for UtteranceAudioInputSpecificationBuilder
impl UnwindSafe for UtteranceAudioInputSpecificationBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.