#[non_exhaustive]pub struct LanguageIdSettingsBuilder { /* private fields */ }Expand description
A builder for LanguageIdSettings.
Implementations§
source§impl LanguageIdSettingsBuilder
impl LanguageIdSettingsBuilder
sourcepub fn vocabulary_name(self, input: impl Into<String>) -> Self
pub fn vocabulary_name(self, input: impl Into<String>) -> Self
The name of the custom vocabulary you want to use when processing your transcription job. Custom vocabulary names are case sensitive.
The language of the specified custom vocabulary must match the language code that you specify in your transcription request. If the languages do not match, the custom vocabulary isn't applied. There are no errors or warnings associated with a language mismatch.
sourcepub fn set_vocabulary_name(self, input: Option<String>) -> Self
pub fn set_vocabulary_name(self, input: Option<String>) -> Self
The name of the custom vocabulary you want to use when processing your transcription job. Custom vocabulary names are case sensitive.
The language of the specified custom vocabulary must match the language code that you specify in your transcription request. If the languages do not match, the custom vocabulary isn't applied. There are no errors or warnings associated with a language mismatch.
sourcepub fn get_vocabulary_name(&self) -> &Option<String>
pub fn get_vocabulary_name(&self) -> &Option<String>
The name of the custom vocabulary you want to use when processing your transcription job. Custom vocabulary names are case sensitive.
The language of the specified custom vocabulary must match the language code that you specify in your transcription request. If the languages do not match, the custom vocabulary isn't applied. There are no errors or warnings associated with a language mismatch.
sourcepub fn vocabulary_filter_name(self, input: impl Into<String>) -> Self
pub fn vocabulary_filter_name(self, input: impl Into<String>) -> Self
The name of the custom vocabulary filter you want to use when processing your transcription job. Custom vocabulary filter names are case sensitive.
The language of the specified custom vocabulary filter must match the language code that you specify in your transcription request. If the languages do not match, the custom vocabulary filter isn't applied. There are no errors or warnings associated with a language mismatch.
Note that if you include VocabularyFilterName in your request, you must also include VocabularyFilterMethod.
sourcepub fn set_vocabulary_filter_name(self, input: Option<String>) -> Self
pub fn set_vocabulary_filter_name(self, input: Option<String>) -> Self
The name of the custom vocabulary filter you want to use when processing your transcription job. Custom vocabulary filter names are case sensitive.
The language of the specified custom vocabulary filter must match the language code that you specify in your transcription request. If the languages do not match, the custom vocabulary filter isn't applied. There are no errors or warnings associated with a language mismatch.
Note that if you include VocabularyFilterName in your request, you must also include VocabularyFilterMethod.
sourcepub fn get_vocabulary_filter_name(&self) -> &Option<String>
pub fn get_vocabulary_filter_name(&self) -> &Option<String>
The name of the custom vocabulary filter you want to use when processing your transcription job. Custom vocabulary filter names are case sensitive.
The language of the specified custom vocabulary filter must match the language code that you specify in your transcription request. If the languages do not match, the custom vocabulary filter isn't applied. There are no errors or warnings associated with a language mismatch.
Note that if you include VocabularyFilterName in your request, you must also include VocabularyFilterMethod.
sourcepub fn language_model_name(self, input: impl Into<String>) -> Self
pub fn language_model_name(self, input: impl Into<String>) -> Self
The name of the custom language model you want to use when processing your transcription job. Note that custom language model names are case sensitive.
The language of the specified custom language model must match the language code that you specify in your transcription request. If the languages do not match, the custom language model isn't applied. There are no errors or warnings associated with a language mismatch.
sourcepub fn set_language_model_name(self, input: Option<String>) -> Self
pub fn set_language_model_name(self, input: Option<String>) -> Self
The name of the custom language model you want to use when processing your transcription job. Note that custom language model names are case sensitive.
The language of the specified custom language model must match the language code that you specify in your transcription request. If the languages do not match, the custom language model isn't applied. There are no errors or warnings associated with a language mismatch.
sourcepub fn get_language_model_name(&self) -> &Option<String>
pub fn get_language_model_name(&self) -> &Option<String>
The name of the custom language model you want to use when processing your transcription job. Note that custom language model names are case sensitive.
The language of the specified custom language model must match the language code that you specify in your transcription request. If the languages do not match, the custom language model isn't applied. There are no errors or warnings associated with a language mismatch.
sourcepub fn build(self) -> LanguageIdSettings
pub fn build(self) -> LanguageIdSettings
Consumes the builder and constructs a LanguageIdSettings.
Trait Implementations§
source§impl Clone for LanguageIdSettingsBuilder
impl Clone for LanguageIdSettingsBuilder
source§fn clone(&self) -> LanguageIdSettingsBuilder
fn clone(&self) -> LanguageIdSettingsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for LanguageIdSettingsBuilder
impl Debug for LanguageIdSettingsBuilder
source§impl Default for LanguageIdSettingsBuilder
impl Default for LanguageIdSettingsBuilder
source§fn default() -> LanguageIdSettingsBuilder
fn default() -> LanguageIdSettingsBuilder
source§impl PartialEq for LanguageIdSettingsBuilder
impl PartialEq for LanguageIdSettingsBuilder
source§fn eq(&self, other: &LanguageIdSettingsBuilder) -> bool
fn eq(&self, other: &LanguageIdSettingsBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for LanguageIdSettingsBuilder
Auto Trait Implementations§
impl Freeze for LanguageIdSettingsBuilder
impl RefUnwindSafe for LanguageIdSettingsBuilder
impl Send for LanguageIdSettingsBuilder
impl Sync for LanguageIdSettingsBuilder
impl Unpin for LanguageIdSettingsBuilder
impl UnwindSafe for LanguageIdSettingsBuilder
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
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>
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>
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 more