Struct aws_sdk_connect::operation::associate_default_vocabulary::builders::AssociateDefaultVocabularyInputBuilder
source · #[non_exhaustive]pub struct AssociateDefaultVocabularyInputBuilder { /* private fields */ }
Expand description
A builder for AssociateDefaultVocabularyInput
.
Implementations§
source§impl AssociateDefaultVocabularyInputBuilder
impl AssociateDefaultVocabularyInputBuilder
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 instance ID in the Amazon Resource Name (ARN) of the instance.
This field is required.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 instance ID in the Amazon Resource Name (ARN) of the instance.
sourcepub fn get_instance_id(&self) -> &Option<String>
pub fn get_instance_id(&self) -> &Option<String>
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (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?
This field is required.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 get_language_code(&self) -> &Option<VocabularyLanguageCode>
pub fn get_language_code(&self) -> &Option<VocabularyLanguageCode>
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 get_vocabulary_id(&self) -> &Option<String>
pub fn get_vocabulary_id(&self) -> &Option<String>
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
.
source§impl AssociateDefaultVocabularyInputBuilder
impl AssociateDefaultVocabularyInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<AssociateDefaultVocabularyOutput, SdkError<AssociateDefaultVocabularyError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<AssociateDefaultVocabularyOutput, SdkError<AssociateDefaultVocabularyError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for AssociateDefaultVocabularyInputBuilder
impl Clone for AssociateDefaultVocabularyInputBuilder
source§fn clone(&self) -> AssociateDefaultVocabularyInputBuilder
fn clone(&self) -> AssociateDefaultVocabularyInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AssociateDefaultVocabularyInputBuilder
impl Default for AssociateDefaultVocabularyInputBuilder
source§fn default() -> AssociateDefaultVocabularyInputBuilder
fn default() -> AssociateDefaultVocabularyInputBuilder
source§impl PartialEq for AssociateDefaultVocabularyInputBuilder
impl PartialEq for AssociateDefaultVocabularyInputBuilder
source§fn eq(&self, other: &AssociateDefaultVocabularyInputBuilder) -> bool
fn eq(&self, other: &AssociateDefaultVocabularyInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.