#[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 ==
.