Struct aws_sdk_transcribe::types::builders::VocabularyInfoBuilder
source · #[non_exhaustive]pub struct VocabularyInfoBuilder { /* private fields */ }Expand description
A builder for VocabularyInfo.
Implementations§
source§impl VocabularyInfoBuilder
impl VocabularyInfoBuilder
sourcepub fn vocabulary_name(self, input: impl Into<String>) -> Self
pub fn vocabulary_name(self, input: impl Into<String>) -> Self
A unique name, chosen by you, for your custom vocabulary. This name is case sensitive, cannot contain spaces, and must be unique within an Amazon Web Services account.
sourcepub fn set_vocabulary_name(self, input: Option<String>) -> Self
pub fn set_vocabulary_name(self, input: Option<String>) -> Self
A unique name, chosen by you, for your custom vocabulary. This name is case sensitive, cannot contain spaces, and must be unique within an Amazon Web Services account.
sourcepub fn language_code(self, input: LanguageCode) -> Self
pub fn language_code(self, input: LanguageCode) -> Self
The language code used to create your custom vocabulary. Each custom vocabulary must contain terms in only one language.
A custom vocabulary can only be used to transcribe files in the same language as the custom vocabulary. For example, if you create a custom vocabulary using US English (en-US), you can only apply this custom vocabulary to files that contain English audio.
sourcepub fn set_language_code(self, input: Option<LanguageCode>) -> Self
pub fn set_language_code(self, input: Option<LanguageCode>) -> Self
The language code used to create your custom vocabulary. Each custom vocabulary must contain terms in only one language.
A custom vocabulary can only be used to transcribe files in the same language as the custom vocabulary. For example, if you create a custom vocabulary using US English (en-US), you can only apply this custom vocabulary to files that contain English audio.
sourcepub fn last_modified_time(self, input: DateTime) -> Self
pub fn last_modified_time(self, input: DateTime) -> Self
The date and time the specified custom vocabulary was last modified.
Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, 2022-05-04T12:32:58.761000-07:00 represents 12:32 PM UTC-7 on May 4, 2022.
sourcepub fn set_last_modified_time(self, input: Option<DateTime>) -> Self
pub fn set_last_modified_time(self, input: Option<DateTime>) -> Self
The date and time the specified custom vocabulary was last modified.
Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, 2022-05-04T12:32:58.761000-07:00 represents 12:32 PM UTC-7 on May 4, 2022.
sourcepub fn vocabulary_state(self, input: VocabularyState) -> Self
pub fn vocabulary_state(self, input: VocabularyState) -> Self
The processing state of your custom vocabulary. If the state is READY, you can use the custom vocabulary in a StartTranscriptionJob request.
sourcepub fn set_vocabulary_state(self, input: Option<VocabularyState>) -> Self
pub fn set_vocabulary_state(self, input: Option<VocabularyState>) -> Self
The processing state of your custom vocabulary. If the state is READY, you can use the custom vocabulary in a StartTranscriptionJob request.
sourcepub fn build(self) -> VocabularyInfo
pub fn build(self) -> VocabularyInfo
Consumes the builder and constructs a VocabularyInfo.
Trait Implementations§
source§impl Clone for VocabularyInfoBuilder
impl Clone for VocabularyInfoBuilder
source§fn clone(&self) -> VocabularyInfoBuilder
fn clone(&self) -> VocabularyInfoBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for VocabularyInfoBuilder
impl Debug for VocabularyInfoBuilder
source§impl Default for VocabularyInfoBuilder
impl Default for VocabularyInfoBuilder
source§fn default() -> VocabularyInfoBuilder
fn default() -> VocabularyInfoBuilder
source§impl PartialEq<VocabularyInfoBuilder> for VocabularyInfoBuilder
impl PartialEq<VocabularyInfoBuilder> for VocabularyInfoBuilder
source§fn eq(&self, other: &VocabularyInfoBuilder) -> bool
fn eq(&self, other: &VocabularyInfoBuilder) -> bool
self and other values to be equal, and is used
by ==.