Class CfnMedicalTranscriptionJobProps.Builder
java.lang.Object
software.amazon.awscdk.services.transcribe.CfnMedicalTranscriptionJobProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMedicalTranscriptionJobProps>
- Enclosing interface:
CfnMedicalTranscriptionJobProps
@Stability(Stable)
public static final class CfnMedicalTranscriptionJobProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMedicalTranscriptionJobProps>
A builder for
CfnMedicalTranscriptionJobProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.languageCode(String languageCode) Sets the value ofCfnMedicalTranscriptionJobProps.getLanguageCode()media(IResolvable media) Sets the value ofCfnMedicalTranscriptionJobProps.getMedia()Sets the value ofCfnMedicalTranscriptionJobProps.getMedia()mediaFormat(String mediaFormat) Sets the value ofCfnMedicalTranscriptionJobProps.getMediaFormat()mediaSampleRateHertz(Number mediaSampleRateHertz) Sets the value ofCfnMedicalTranscriptionJobProps.getMediaSampleRateHertz()medicalTranscriptionJobName(String medicalTranscriptionJobName) Sets the value ofCfnMedicalTranscriptionJobProps.getMedicalTranscriptionJobName()settings(IResolvable settings) Sets the value ofCfnMedicalTranscriptionJobProps.getSettings()Sets the value ofCfnMedicalTranscriptionJobProps.getSettings()Sets the value ofCfnMedicalTranscriptionJobProps.getSpecialty()Sets the value ofCfnMedicalTranscriptionJobProps.getTags()Sets the value ofCfnMedicalTranscriptionJobProps.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
languageCode
Sets the value ofCfnMedicalTranscriptionJobProps.getLanguageCode()- Parameters:
languageCode- The language code for the language spoken in the input media file. This parameter is required. Must be en-US.- Returns:
this
-
media
Sets the value ofCfnMedicalTranscriptionJobProps.getMedia()- Parameters:
media- the value to be set. This parameter is required.- Returns:
this
-
media
@Stability(Stable) public CfnMedicalTranscriptionJobProps.Builder media(CfnMedicalTranscriptionJob.MediaProperty media) Sets the value ofCfnMedicalTranscriptionJobProps.getMedia()- Parameters:
media- the value to be set. This parameter is required.- Returns:
this
-
medicalTranscriptionJobName
@Stability(Stable) public CfnMedicalTranscriptionJobProps.Builder medicalTranscriptionJobName(String medicalTranscriptionJobName) Sets the value ofCfnMedicalTranscriptionJobProps.getMedicalTranscriptionJobName()- Parameters:
medicalTranscriptionJobName- A unique name for the medical transcription job. This parameter is required.- Returns:
this
-
specialty
Sets the value ofCfnMedicalTranscriptionJobProps.getSpecialty()- Parameters:
specialty- The medical specialty represented in the media. This parameter is required.- Returns:
this
-
type
Sets the value ofCfnMedicalTranscriptionJobProps.getType()- Parameters:
type- Whether the input media is a dictation or conversation. This parameter is required.- Returns:
this
-
mediaFormat
Sets the value ofCfnMedicalTranscriptionJobProps.getMediaFormat()- Parameters:
mediaFormat- The format of the input media file.- Returns:
this
-
mediaSampleRateHertz
@Stability(Stable) public CfnMedicalTranscriptionJobProps.Builder mediaSampleRateHertz(Number mediaSampleRateHertz) Sets the value ofCfnMedicalTranscriptionJobProps.getMediaSampleRateHertz()- Parameters:
mediaSampleRateHertz- The sample rate of the audio in hertz.- Returns:
this
-
settings
Sets the value ofCfnMedicalTranscriptionJobProps.getSettings()- Parameters:
settings- the value to be set.- Returns:
this
-
settings
@Stability(Stable) public CfnMedicalTranscriptionJobProps.Builder settings(CfnMedicalTranscriptionJob.MedicalTranscriptionSettingProperty settings) Sets the value ofCfnMedicalTranscriptionJobProps.getSettings()- Parameters:
settings- the value to be set.- Returns:
this
-
tags
Sets the value ofCfnMedicalTranscriptionJobProps.getTags()- Parameters:
tags- Tags associated with the medical transcription job.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnMedicalTranscriptionJobProps>- Returns:
- a new instance of
CfnMedicalTranscriptionJobProps - Throws:
NullPointerException- if any required attribute was not provided
-