Struct aws_sdk_connect::operation::associate_default_vocabulary::builders::AssociateDefaultVocabularyFluentBuilder
source · pub struct AssociateDefaultVocabularyFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to AssociateDefaultVocabulary
.
Associates an existing vocabulary as the default. Contact Lens for Amazon Connect uses the vocabulary in post-call and real-time analysis sessions for the given language.
Implementations§
source§impl AssociateDefaultVocabularyFluentBuilder
impl AssociateDefaultVocabularyFluentBuilder
sourcepub fn as_input(&self) -> &AssociateDefaultVocabularyInputBuilder
pub fn as_input(&self) -> &AssociateDefaultVocabularyInputBuilder
Access the AssociateDefaultVocabulary as a reference.
sourcepub async fn send(
self
) -> Result<AssociateDefaultVocabularyOutput, SdkError<AssociateDefaultVocabularyError, HttpResponse>>
pub async fn send( self ) -> Result<AssociateDefaultVocabularyOutput, SdkError<AssociateDefaultVocabularyError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<AssociateDefaultVocabularyOutput, AssociateDefaultVocabularyError, Self>
pub fn customize( self ) -> CustomizableOperation<AssociateDefaultVocabularyOutput, AssociateDefaultVocabularyError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
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?
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.
Trait Implementations§
source§impl Clone for AssociateDefaultVocabularyFluentBuilder
impl Clone for AssociateDefaultVocabularyFluentBuilder
source§fn clone(&self) -> AssociateDefaultVocabularyFluentBuilder
fn clone(&self) -> AssociateDefaultVocabularyFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more