Struct aws_sdk_chime::model::engine_transcribe_settings::Builder
source · [−]pub struct Builder { /* private fields */ }Expand description
A builder for EngineTranscribeSettings.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn language_code(self, input: TranscribeLanguageCode) -> Self
pub fn language_code(self, input: TranscribeLanguageCode) -> Self
The language code specified for the Amazon Transcribe engine.
sourcepub fn set_language_code(self, input: Option<TranscribeLanguageCode>) -> Self
pub fn set_language_code(self, input: Option<TranscribeLanguageCode>) -> Self
The language code specified for the Amazon Transcribe engine.
sourcepub fn vocabulary_filter_method(
self,
input: TranscribeVocabularyFilterMethod
) -> Self
pub fn vocabulary_filter_method(
self,
input: TranscribeVocabularyFilterMethod
) -> Self
The filtering method passed to Amazon Transcribe.
sourcepub fn set_vocabulary_filter_method(
self,
input: Option<TranscribeVocabularyFilterMethod>
) -> Self
pub fn set_vocabulary_filter_method(
self,
input: Option<TranscribeVocabularyFilterMethod>
) -> Self
The filtering method passed to Amazon Transcribe.
sourcepub fn vocabulary_filter_name(self, input: impl Into<String>) -> Self
pub fn vocabulary_filter_name(self, input: impl Into<String>) -> Self
The name of the vocabulary filter passed to Amazon Transcribe.
sourcepub fn set_vocabulary_filter_name(self, input: Option<String>) -> Self
pub fn set_vocabulary_filter_name(self, input: Option<String>) -> Self
The name of the vocabulary filter passed to Amazon Transcribe.
sourcepub fn vocabulary_name(self, input: impl Into<String>) -> Self
pub fn vocabulary_name(self, input: impl Into<String>) -> Self
The name of the vocabulary passed to Amazon Transcribe.
sourcepub fn set_vocabulary_name(self, input: Option<String>) -> Self
pub fn set_vocabulary_name(self, input: Option<String>) -> Self
The name of the vocabulary passed to Amazon Transcribe.
sourcepub fn region(self, input: TranscribeRegion) -> Self
pub fn region(self, input: TranscribeRegion) -> Self
The AWS Region passed to Amazon Transcribe. If you don't specify a Region, Amazon Chime uses the meeting's Region.
sourcepub fn set_region(self, input: Option<TranscribeRegion>) -> Self
pub fn set_region(self, input: Option<TranscribeRegion>) -> Self
The AWS Region passed to Amazon Transcribe. If you don't specify a Region, Amazon Chime uses the meeting's Region.
sourcepub fn enable_partial_results_stabilization(self, input: bool) -> Self
pub fn enable_partial_results_stabilization(self, input: bool) -> Self
Generates partial transcription results that are less likely to change as meeting attendees speak. It does so by only allowing the last few words from the partial results to change.
sourcepub fn set_enable_partial_results_stabilization(
self,
input: Option<bool>
) -> Self
pub fn set_enable_partial_results_stabilization(
self,
input: Option<bool>
) -> Self
Generates partial transcription results that are less likely to change as meeting attendees speak. It does so by only allowing the last few words from the partial results to change.
sourcepub fn partial_results_stability(
self,
input: TranscribePartialResultsStability
) -> Self
pub fn partial_results_stability(
self,
input: TranscribePartialResultsStability
) -> Self
The stabity level of a partial results transcription. Determines how stable you want the transcription results to be. A higher level means the transcription results are less likely to change.
sourcepub fn set_partial_results_stability(
self,
input: Option<TranscribePartialResultsStability>
) -> Self
pub fn set_partial_results_stability(
self,
input: Option<TranscribePartialResultsStability>
) -> Self
The stabity level of a partial results transcription. Determines how stable you want the transcription results to be. A higher level means the transcription results are less likely to change.
sourcepub fn content_identification_type(
self,
input: TranscribeContentIdentificationType
) -> Self
pub fn content_identification_type(
self,
input: TranscribeContentIdentificationType
) -> Self
Set this field to PII to identify personally identifiable information in the transcription output.
sourcepub fn set_content_identification_type(
self,
input: Option<TranscribeContentIdentificationType>
) -> Self
pub fn set_content_identification_type(
self,
input: Option<TranscribeContentIdentificationType>
) -> Self
Set this field to PII to identify personally identifiable information in the transcription output.
sourcepub fn content_redaction_type(
self,
input: TranscribeContentRedactionType
) -> Self
pub fn content_redaction_type(
self,
input: TranscribeContentRedactionType
) -> Self
Set this field to PII to redact personally identifiable information in the transcription output. Content redaction is performed only upon complete transcription of the audio segments.
sourcepub fn set_content_redaction_type(
self,
input: Option<TranscribeContentRedactionType>
) -> Self
pub fn set_content_redaction_type(
self,
input: Option<TranscribeContentRedactionType>
) -> Self
Set this field to PII to redact personally identifiable information in the transcription output. Content redaction is performed only upon complete transcription of the audio segments.
sourcepub fn pii_entity_types(self, input: impl Into<String>) -> Self
pub fn pii_entity_types(self, input: impl Into<String>) -> Self
Lists the PII entity types you want to identify or redact. To specify entity types, you must enable ContentIdentificationType or ContentRedactionType.
PIIEntityTypes must be comma-separated. The available values are: BANK_ACCOUNT_NUMBER, BANK_ROUTING, CREDIT_DEBIT_NUMBER, CREDIT_DEBIT_CVV, CREDIT_DEBIT_EXPIRY, PIN, EMAIL, ADDRESS, NAME, PHONE, SSN, and ALL.
PiiEntityTypes is an optional parameter with a default value of ALL.
sourcepub fn set_pii_entity_types(self, input: Option<String>) -> Self
pub fn set_pii_entity_types(self, input: Option<String>) -> Self
Lists the PII entity types you want to identify or redact. To specify entity types, you must enable ContentIdentificationType or ContentRedactionType.
PIIEntityTypes must be comma-separated. The available values are: BANK_ACCOUNT_NUMBER, BANK_ROUTING, CREDIT_DEBIT_NUMBER, CREDIT_DEBIT_CVV, CREDIT_DEBIT_EXPIRY, PIN, EMAIL, ADDRESS, NAME, PHONE, SSN, and ALL.
PiiEntityTypes is an optional parameter with a default value of ALL.
sourcepub fn language_model_name(self, input: impl Into<String>) -> Self
pub fn language_model_name(self, input: impl Into<String>) -> Self
The name of the language model used during transcription.
sourcepub fn set_language_model_name(self, input: Option<String>) -> Self
pub fn set_language_model_name(self, input: Option<String>) -> Self
The name of the language model used during transcription.
sourcepub fn build(self) -> EngineTranscribeSettings
pub fn build(self) -> EngineTranscribeSettings
Consumes the builder and constructs a EngineTranscribeSettings.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more