Struct aws_sdk_transcribe::types::builders::ModelSettingsBuilder
source · #[non_exhaustive]pub struct ModelSettingsBuilder { /* private fields */ }
Expand description
A builder for ModelSettings
.
Implementations§
source§impl ModelSettingsBuilder
impl ModelSettingsBuilder
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) -> ModelSettings
pub fn build(self) -> ModelSettings
Consumes the builder and constructs a ModelSettings
.
Trait Implementations§
source§impl Clone for ModelSettingsBuilder
impl Clone for ModelSettingsBuilder
source§fn clone(&self) -> ModelSettingsBuilder
fn clone(&self) -> ModelSettingsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ModelSettingsBuilder
impl Debug for ModelSettingsBuilder
source§impl Default for ModelSettingsBuilder
impl Default for ModelSettingsBuilder
source§fn default() -> ModelSettingsBuilder
fn default() -> ModelSettingsBuilder
source§impl PartialEq for ModelSettingsBuilder
impl PartialEq for ModelSettingsBuilder
source§fn eq(&self, other: &ModelSettingsBuilder) -> bool
fn eq(&self, other: &ModelSettingsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.