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