Struct aws_sdk_connect::model::vocabulary_summary::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for VocabularySummary
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the custom vocabulary.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the custom vocabulary.
sourcepub fn language_code(self, input: VocabularyLanguageCode) -> Self
pub fn language_code(self, input: VocabularyLanguageCode) -> Self
The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see What is Amazon Transcribe?
sourcepub fn set_language_code(self, input: Option<VocabularyLanguageCode>) -> Self
pub fn set_language_code(self, input: Option<VocabularyLanguageCode>) -> Self
The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see What is Amazon Transcribe?
sourcepub fn state(self, input: VocabularyState) -> Self
pub fn state(self, input: VocabularyState) -> Self
The current state of the custom vocabulary.
sourcepub fn set_state(self, input: Option<VocabularyState>) -> Self
pub fn set_state(self, input: Option<VocabularyState>) -> Self
The current state of the custom vocabulary.
sourcepub fn last_modified_time(self, input: DateTime) -> Self
pub fn last_modified_time(self, input: DateTime) -> Self
The timestamp when the custom vocabulary was last modified.
sourcepub fn set_last_modified_time(self, input: Option<DateTime>) -> Self
pub fn set_last_modified_time(self, input: Option<DateTime>) -> Self
The timestamp when the custom vocabulary was last modified.
sourcepub fn failure_reason(self, input: impl Into<String>) -> Self
pub fn failure_reason(self, input: impl Into<String>) -> Self
The reason why the custom vocabulary was not created.
sourcepub fn set_failure_reason(self, input: Option<String>) -> Self
pub fn set_failure_reason(self, input: Option<String>) -> Self
The reason why the custom vocabulary was not created.
sourcepub fn build(self) -> VocabularySummary
pub fn build(self) -> VocabularySummary
Consumes the builder and constructs a VocabularySummary
.