#[non_exhaustive]pub struct EngineTranscribeMedicalSettingsBuilder { /* private fields */ }
Expand description
A builder for EngineTranscribeMedicalSettings
.
Implementations§
source§impl EngineTranscribeMedicalSettingsBuilder
impl EngineTranscribeMedicalSettingsBuilder
sourcepub fn language_code(self, input: TranscribeMedicalLanguageCode) -> Self
pub fn language_code(self, input: TranscribeMedicalLanguageCode) -> Self
The language code specified for the Amazon Transcribe Medical engine.
This field is required.sourcepub fn set_language_code(
self,
input: Option<TranscribeMedicalLanguageCode>
) -> Self
pub fn set_language_code( self, input: Option<TranscribeMedicalLanguageCode> ) -> Self
The language code specified for the Amazon Transcribe Medical engine.
sourcepub fn get_language_code(&self) -> &Option<TranscribeMedicalLanguageCode>
pub fn get_language_code(&self) -> &Option<TranscribeMedicalLanguageCode>
The language code specified for the Amazon Transcribe Medical engine.
sourcepub fn specialty(self, input: TranscribeMedicalSpecialty) -> Self
pub fn specialty(self, input: TranscribeMedicalSpecialty) -> Self
The specialty specified for the Amazon Transcribe Medical engine.
This field is required.sourcepub fn set_specialty(self, input: Option<TranscribeMedicalSpecialty>) -> Self
pub fn set_specialty(self, input: Option<TranscribeMedicalSpecialty>) -> Self
The specialty specified for the Amazon Transcribe Medical engine.
sourcepub fn get_specialty(&self) -> &Option<TranscribeMedicalSpecialty>
pub fn get_specialty(&self) -> &Option<TranscribeMedicalSpecialty>
The specialty specified for the Amazon Transcribe Medical engine.
sourcepub fn type(self, input: TranscribeMedicalType) -> Self
pub fn type(self, input: TranscribeMedicalType) -> Self
The type of transcription.
This field is required.sourcepub fn set_type(self, input: Option<TranscribeMedicalType>) -> Self
pub fn set_type(self, input: Option<TranscribeMedicalType>) -> Self
The type of transcription.
sourcepub fn get_type(&self) -> &Option<TranscribeMedicalType>
pub fn get_type(&self) -> &Option<TranscribeMedicalType>
The type of transcription.
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 Medical.
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 Medical.
sourcepub fn get_vocabulary_name(&self) -> &Option<String>
pub fn get_vocabulary_name(&self) -> &Option<String>
The name of the vocabulary passed to Amazon Transcribe Medical.
sourcepub fn region(self, input: TranscribeMedicalRegion) -> Self
pub fn region(self, input: TranscribeMedicalRegion) -> Self
The AWS Region passed to Amazon Transcribe Medical. If you don't specify a Region, Amazon Chime uses the meeting's Region.
sourcepub fn set_region(self, input: Option<TranscribeMedicalRegion>) -> Self
pub fn set_region(self, input: Option<TranscribeMedicalRegion>) -> Self
The AWS Region passed to Amazon Transcribe Medical. If you don't specify a Region, Amazon Chime uses the meeting's Region.
sourcepub fn get_region(&self) -> &Option<TranscribeMedicalRegion>
pub fn get_region(&self) -> &Option<TranscribeMedicalRegion>
The AWS Region passed to Amazon Transcribe Medical. If you don't specify a Region, Amazon Chime uses the meeting's Region.
sourcepub fn content_identification_type(
self,
input: TranscribeMedicalContentIdentificationType
) -> Self
pub fn content_identification_type( self, input: TranscribeMedicalContentIdentificationType ) -> Self
Labels all personally identifiable information (PII) identified in your transcript. If you don't include PiiEntityTypes
, all PII is identified.
You can’t set ContentIdentificationType
and ContentRedactionType
.
sourcepub fn set_content_identification_type(
self,
input: Option<TranscribeMedicalContentIdentificationType>
) -> Self
pub fn set_content_identification_type( self, input: Option<TranscribeMedicalContentIdentificationType> ) -> Self
Labels all personally identifiable information (PII) identified in your transcript. If you don't include PiiEntityTypes
, all PII is identified.
You can’t set ContentIdentificationType
and ContentRedactionType
.
sourcepub fn get_content_identification_type(
&self
) -> &Option<TranscribeMedicalContentIdentificationType>
pub fn get_content_identification_type( &self ) -> &Option<TranscribeMedicalContentIdentificationType>
Labels all personally identifiable information (PII) identified in your transcript. If you don't include PiiEntityTypes
, all PII is identified.
You can’t set ContentIdentificationType
and ContentRedactionType
.
sourcepub fn build(self) -> Result<EngineTranscribeMedicalSettings, BuildError>
pub fn build(self) -> Result<EngineTranscribeMedicalSettings, BuildError>
Consumes the builder and constructs a EngineTranscribeMedicalSettings
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for EngineTranscribeMedicalSettingsBuilder
impl Clone for EngineTranscribeMedicalSettingsBuilder
source§fn clone(&self) -> EngineTranscribeMedicalSettingsBuilder
fn clone(&self) -> EngineTranscribeMedicalSettingsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for EngineTranscribeMedicalSettingsBuilder
impl Default for EngineTranscribeMedicalSettingsBuilder
source§fn default() -> EngineTranscribeMedicalSettingsBuilder
fn default() -> EngineTranscribeMedicalSettingsBuilder
source§impl PartialEq for EngineTranscribeMedicalSettingsBuilder
impl PartialEq for EngineTranscribeMedicalSettingsBuilder
source§fn eq(&self, other: &EngineTranscribeMedicalSettingsBuilder) -> bool
fn eq(&self, other: &EngineTranscribeMedicalSettingsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EngineTranscribeMedicalSettingsBuilder
Auto Trait Implementations§
impl Freeze for EngineTranscribeMedicalSettingsBuilder
impl RefUnwindSafe for EngineTranscribeMedicalSettingsBuilder
impl Send for EngineTranscribeMedicalSettingsBuilder
impl Sync for EngineTranscribeMedicalSettingsBuilder
impl Unpin for EngineTranscribeMedicalSettingsBuilder
impl UnwindSafe for EngineTranscribeMedicalSettingsBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more