Interface MedicalTranscriptionJob.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<MedicalTranscriptionJob.Builder,MedicalTranscriptionJob>,SdkBuilder<MedicalTranscriptionJob.Builder,MedicalTranscriptionJob>,SdkPojo
- Enclosing class:
- MedicalTranscriptionJob
public static interface MedicalTranscriptionJob.Builder extends SdkPojo, CopyableBuilder<MedicalTranscriptionJob.Builder,MedicalTranscriptionJob>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description MedicalTranscriptionJob.BuildercompletionTime(Instant completionTime)The date and time the specified medical transcription job finished processing.MedicalTranscriptionJob.BuildercontentIdentificationType(String contentIdentificationType)Indicates whether content identification was enabled for your transcription request.MedicalTranscriptionJob.BuildercontentIdentificationType(MedicalContentIdentificationType contentIdentificationType)Indicates whether content identification was enabled for your transcription request.MedicalTranscriptionJob.BuildercreationTime(Instant creationTime)The date and time the specified medical transcription job request was made.MedicalTranscriptionJob.BuilderfailureReason(String failureReason)IfTranscriptionJobStatusisFAILED,FailureReasoncontains information about why the transcription job request failed.MedicalTranscriptionJob.BuilderlanguageCode(String languageCode)The language code used to create your medical transcription job.MedicalTranscriptionJob.BuilderlanguageCode(LanguageCode languageCode)The language code used to create your medical transcription job.default MedicalTranscriptionJob.Buildermedia(Consumer<Media.Builder> media)Sets the value of the Media property for this object.MedicalTranscriptionJob.Buildermedia(Media media)Sets the value of the Media property for this object.MedicalTranscriptionJob.BuildermediaFormat(String mediaFormat)The format of the input media file.MedicalTranscriptionJob.BuildermediaFormat(MediaFormat mediaFormat)The format of the input media file.MedicalTranscriptionJob.BuildermediaSampleRateHertz(Integer mediaSampleRateHertz)The sample rate, in hertz, of the audio track in your input media file.MedicalTranscriptionJob.BuildermedicalTranscriptionJobName(String medicalTranscriptionJobName)The name of the medical transcription job.default MedicalTranscriptionJob.Buildersettings(Consumer<MedicalTranscriptionSetting.Builder> settings)Provides information on any additional settings that were included in your request.MedicalTranscriptionJob.Buildersettings(MedicalTranscriptionSetting settings)Provides information on any additional settings that were included in your request.MedicalTranscriptionJob.Builderspecialty(String specialty)Describes the medical specialty represented in your media.MedicalTranscriptionJob.Builderspecialty(Specialty specialty)Describes the medical specialty represented in your media.MedicalTranscriptionJob.BuilderstartTime(Instant startTime)The date and time the specified medical transcription job began processing.MedicalTranscriptionJob.Buildertags(Collection<Tag> tags)The tags, each in the form of a key:value pair, assigned to the specified medical transcription job.MedicalTranscriptionJob.Buildertags(Consumer<Tag.Builder>... tags)The tags, each in the form of a key:value pair, assigned to the specified medical transcription job.MedicalTranscriptionJob.Buildertags(Tag... tags)The tags, each in the form of a key:value pair, assigned to the specified medical transcription job.default MedicalTranscriptionJob.Buildertranscript(Consumer<MedicalTranscript.Builder> transcript)Provides you with the Amazon S3 URI you can use to access your transcript.MedicalTranscriptionJob.Buildertranscript(MedicalTranscript transcript)Provides you with the Amazon S3 URI you can use to access your transcript.MedicalTranscriptionJob.BuildertranscriptionJobStatus(String transcriptionJobStatus)Provides the status of the specified medical transcription job.MedicalTranscriptionJob.BuildertranscriptionJobStatus(TranscriptionJobStatus transcriptionJobStatus)Provides the status of the specified medical transcription job.MedicalTranscriptionJob.Buildertype(String type)Indicates whether the input media is a dictation or a conversation, as specified in theStartMedicalTranscriptionJobrequest.MedicalTranscriptionJob.Buildertype(Type type)Indicates whether the input media is a dictation or a conversation, as specified in theStartMedicalTranscriptionJobrequest.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
medicalTranscriptionJobName
MedicalTranscriptionJob.Builder medicalTranscriptionJobName(String medicalTranscriptionJobName)
The name of the medical transcription job. Job names are case sensitive and must be unique within an Amazon Web Services account.
- Parameters:
medicalTranscriptionJobName- The name of the medical transcription job. Job names are case sensitive and must be unique within an Amazon Web Services account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transcriptionJobStatus
MedicalTranscriptionJob.Builder transcriptionJobStatus(String transcriptionJobStatus)
Provides the status of the specified medical transcription job.
If the status is
COMPLETED, the job is finished and you can find the results at the location specified inTranscriptFileUri. If the status isFAILED,FailureReasonprovides details on why your transcription job failed.- Parameters:
transcriptionJobStatus- Provides the status of the specified medical transcription job.If the status is
COMPLETED, the job is finished and you can find the results at the location specified inTranscriptFileUri. If the status isFAILED,FailureReasonprovides details on why your transcription job failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TranscriptionJobStatus,TranscriptionJobStatus
-
transcriptionJobStatus
MedicalTranscriptionJob.Builder transcriptionJobStatus(TranscriptionJobStatus transcriptionJobStatus)
Provides the status of the specified medical transcription job.
If the status is
COMPLETED, the job is finished and you can find the results at the location specified inTranscriptFileUri. If the status isFAILED,FailureReasonprovides details on why your transcription job failed.- Parameters:
transcriptionJobStatus- Provides the status of the specified medical transcription job.If the status is
COMPLETED, the job is finished and you can find the results at the location specified inTranscriptFileUri. If the status isFAILED,FailureReasonprovides details on why your transcription job failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TranscriptionJobStatus,TranscriptionJobStatus
-
languageCode
MedicalTranscriptionJob.Builder languageCode(String languageCode)
The language code used to create your medical transcription job. US English (
en-US) is the only supported language for medical transcriptions.- Parameters:
languageCode- The language code used to create your medical transcription job. US English (en-US) is the only supported language for medical transcriptions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LanguageCode,LanguageCode
-
languageCode
MedicalTranscriptionJob.Builder languageCode(LanguageCode languageCode)
The language code used to create your medical transcription job. US English (
en-US) is the only supported language for medical transcriptions.- Parameters:
languageCode- The language code used to create your medical transcription job. US English (en-US) is the only supported language for medical transcriptions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LanguageCode,LanguageCode
-
mediaSampleRateHertz
MedicalTranscriptionJob.Builder mediaSampleRateHertz(Integer mediaSampleRateHertz)
The sample rate, in hertz, of the audio track in your input media file.
- Parameters:
mediaSampleRateHertz- The sample rate, in hertz, of the audio track in your input media file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mediaFormat
MedicalTranscriptionJob.Builder mediaFormat(String mediaFormat)
The format of the input media file.
- Parameters:
mediaFormat- The format of the input media file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
MediaFormat,MediaFormat
-
mediaFormat
MedicalTranscriptionJob.Builder mediaFormat(MediaFormat mediaFormat)
The format of the input media file.
- Parameters:
mediaFormat- The format of the input media file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
MediaFormat,MediaFormat
-
media
MedicalTranscriptionJob.Builder media(Media media)
Sets the value of the Media property for this object.- Parameters:
media- The new value for the Media property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
media
default MedicalTranscriptionJob.Builder media(Consumer<Media.Builder> media)
Sets the value of the Media property for this object. This is a convenience method that creates an instance of theMedia.Builderavoiding the need to create one manually viaMedia.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomedia(Media).- Parameters:
media- a consumer that will call methods onMedia.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
media(Media)
-
transcript
MedicalTranscriptionJob.Builder transcript(MedicalTranscript transcript)
Provides you with the Amazon S3 URI you can use to access your transcript.
- Parameters:
transcript- Provides you with the Amazon S3 URI you can use to access your transcript.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transcript
default MedicalTranscriptionJob.Builder transcript(Consumer<MedicalTranscript.Builder> transcript)
Provides you with the Amazon S3 URI you can use to access your transcript.
This is a convenience method that creates an instance of theMedicalTranscript.Builderavoiding the need to create one manually viaMedicalTranscript.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totranscript(MedicalTranscript).- Parameters:
transcript- a consumer that will call methods onMedicalTranscript.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
transcript(MedicalTranscript)
-
startTime
MedicalTranscriptionJob.Builder startTime(Instant startTime)
The date and time the specified medical transcription job began processing.
Timestamps are in the format
YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example,2022-05-04T12:32:58.789000-07:00represents a transcription job that started processing at 12:32 PM UTC-7 on May 4, 2022.- Parameters:
startTime- The date and time the specified medical transcription job began processing.Timestamps are in the format
YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example,2022-05-04T12:32:58.789000-07:00represents a transcription job that started processing at 12:32 PM UTC-7 on May 4, 2022.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
MedicalTranscriptionJob.Builder creationTime(Instant creationTime)
The date and time the specified medical transcription job request was made.
Timestamps are in the format
YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example,2022-05-04T12:32:58.761000-07:00represents a transcription job that started processing at 12:32 PM UTC-7 on May 4, 2022.- Parameters:
creationTime- The date and time the specified medical transcription job request was made.Timestamps are in the format
YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example,2022-05-04T12:32:58.761000-07:00represents a transcription job that started processing at 12:32 PM UTC-7 on May 4, 2022.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
completionTime
MedicalTranscriptionJob.Builder completionTime(Instant completionTime)
The date and time the specified medical transcription job finished processing.
Timestamps are in the format
YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example,2022-05-04T12:33:13.922000-07:00represents a transcription job that started processing at 12:33 PM UTC-7 on May 4, 2022.- Parameters:
completionTime- The date and time the specified medical transcription job finished processing.Timestamps are in the format
YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example,2022-05-04T12:33:13.922000-07:00represents a transcription job that started processing at 12:33 PM UTC-7 on May 4, 2022.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureReason
MedicalTranscriptionJob.Builder failureReason(String failureReason)
If
TranscriptionJobStatusisFAILED,FailureReasoncontains information about why the transcription job request failed.The
FailureReasonfield contains one of the following values:-
Unsupported media format.The media format specified in
MediaFormatisn't valid. Refer to refer to theMediaFormatparameter for a list of supported formats. -
The media format provided does not match the detected media format.The media format specified in
MediaFormatdoesn't match the format of the input file. Check the media format of your media file and correct the specified value. -
Invalid sample rate for audio file.The sample rate specified in
MediaSampleRateHertzisn't valid. The sample rate must be between 16,000 and 48,000 hertz. -
The sample rate provided does not match the detected sample rate.The sample rate specified in
MediaSampleRateHertzdoesn't match the sample rate detected in your input media file. Check the sample rate of your media file and correct the specified value. -
Invalid file size: file size too large.The size of your media file is larger than what Amazon Transcribe can process. For more information, refer to Service quotas.
-
Invalid number of channels: number of channels too large.Your audio contains more channels than Amazon Transcribe is able to process. For more information, refer to Service quotas.
- Parameters:
failureReason- IfTranscriptionJobStatusisFAILED,FailureReasoncontains information about why the transcription job request failed.The
FailureReasonfield contains one of the following values:-
Unsupported media format.The media format specified in
MediaFormatisn't valid. Refer to refer to theMediaFormatparameter for a list of supported formats. -
The media format provided does not match the detected media format.The media format specified in
MediaFormatdoesn't match the format of the input file. Check the media format of your media file and correct the specified value. -
Invalid sample rate for audio file.The sample rate specified in
MediaSampleRateHertzisn't valid. The sample rate must be between 16,000 and 48,000 hertz. -
The sample rate provided does not match the detected sample rate.The sample rate specified in
MediaSampleRateHertzdoesn't match the sample rate detected in your input media file. Check the sample rate of your media file and correct the specified value. -
Invalid file size: file size too large.The size of your media file is larger than what Amazon Transcribe can process. For more information, refer to Service quotas.
-
Invalid number of channels: number of channels too large.Your audio contains more channels than Amazon Transcribe is able to process. For more information, refer to Service quotas.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
settings
MedicalTranscriptionJob.Builder settings(MedicalTranscriptionSetting settings)
Provides information on any additional settings that were included in your request. Additional settings include channel identification, alternative transcriptions, speaker partitioning, custom vocabularies, and custom vocabulary filters.
- Parameters:
settings- Provides information on any additional settings that were included in your request. Additional settings include channel identification, alternative transcriptions, speaker partitioning, custom vocabularies, and custom vocabulary filters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
settings
default MedicalTranscriptionJob.Builder settings(Consumer<MedicalTranscriptionSetting.Builder> settings)
Provides information on any additional settings that were included in your request. Additional settings include channel identification, alternative transcriptions, speaker partitioning, custom vocabularies, and custom vocabulary filters.
This is a convenience method that creates an instance of theMedicalTranscriptionSetting.Builderavoiding the need to create one manually viaMedicalTranscriptionSetting.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosettings(MedicalTranscriptionSetting).- Parameters:
settings- a consumer that will call methods onMedicalTranscriptionSetting.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
settings(MedicalTranscriptionSetting)
-
contentIdentificationType
MedicalTranscriptionJob.Builder contentIdentificationType(String contentIdentificationType)
Indicates whether content identification was enabled for your transcription request.
- Parameters:
contentIdentificationType- Indicates whether content identification was enabled for your transcription request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
MedicalContentIdentificationType,MedicalContentIdentificationType
-
contentIdentificationType
MedicalTranscriptionJob.Builder contentIdentificationType(MedicalContentIdentificationType contentIdentificationType)
Indicates whether content identification was enabled for your transcription request.
- Parameters:
contentIdentificationType- Indicates whether content identification was enabled for your transcription request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
MedicalContentIdentificationType,MedicalContentIdentificationType
-
specialty
MedicalTranscriptionJob.Builder specialty(String specialty)
Describes the medical specialty represented in your media.
-
specialty
MedicalTranscriptionJob.Builder specialty(Specialty specialty)
Describes the medical specialty represented in your media.
-
type
MedicalTranscriptionJob.Builder type(String type)
Indicates whether the input media is a dictation or a conversation, as specified in the
StartMedicalTranscriptionJobrequest.
-
type
MedicalTranscriptionJob.Builder type(Type type)
Indicates whether the input media is a dictation or a conversation, as specified in the
StartMedicalTranscriptionJobrequest.
-
tags
MedicalTranscriptionJob.Builder tags(Collection<Tag> tags)
The tags, each in the form of a key:value pair, assigned to the specified medical transcription job.
- Parameters:
tags- The tags, each in the form of a key:value pair, assigned to the specified medical transcription job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
MedicalTranscriptionJob.Builder tags(Tag... tags)
The tags, each in the form of a key:value pair, assigned to the specified medical transcription job.
- Parameters:
tags- The tags, each in the form of a key:value pair, assigned to the specified medical transcription job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
MedicalTranscriptionJob.Builder tags(Consumer<Tag.Builder>... tags)
The tags, each in the form of a key:value pair, assigned to the specified medical transcription job.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
-