pub struct Builder { /* private fields */ }
Expand description
A builder for AssociateDefaultVocabularyInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn instance_id(self, input: impl Into<String>) -> Self
pub fn instance_id(self, input: impl Into<String>) -> Self
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
sourcepub fn set_instance_id(self, input: Option<String>) -> Self
pub fn set_instance_id(self, input: Option<String>) -> Self
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
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 vocabulary_id(self, input: impl Into<String>) -> Self
pub fn vocabulary_id(self, input: impl Into<String>) -> Self
The identifier of the custom vocabulary. If this is empty, the default is set to none.
sourcepub fn set_vocabulary_id(self, input: Option<String>) -> Self
pub fn set_vocabulary_id(self, input: Option<String>) -> Self
The identifier of the custom vocabulary. If this is empty, the default is set to none.
sourcepub fn build(self) -> Result<AssociateDefaultVocabularyInput, BuildError>
pub fn build(self) -> Result<AssociateDefaultVocabularyInput, BuildError>
Consumes the builder and constructs a AssociateDefaultVocabularyInput
.