/* * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ package com.amazonaws.services.transcribe.model; import java.io.Serializable; /** *

* Provides detailed information about a medical transcription job. *

*

* To view the status of the specified medical transcription job, check the * TranscriptionJobStatus field. If the status is * COMPLETED, the job is finished and you can find the results at * the location specified in TranscriptFileUri. If the status is * FAILED, FailureReason provides details on why your * transcription job failed. *

*/ public class MedicalTranscriptionJob implements Serializable { /** *

* The name of the medical transcription job. Job names are case sensitive * and must be unique within an Amazon Web Services account. *

*

* Constraints:
* Length: 1 - 200
* Pattern: ^[0-9a-zA-Z._-]+
*/ private String medicalTranscriptionJobName; /** *

* 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 in * TranscriptFileUri. If the status is FAILED, * FailureReason provides details on why your transcription job * failed. *

*

* Constraints:
* Allowed Values: QUEUED, IN_PROGRESS, FAILED, COMPLETED */ private String transcriptionJobStatus; /** *

* The language code used to create your medical transcription job. US * English (en-US) is the only supported language for medical * transcriptions. *

*

* Constraints:
* Allowed Values: af-ZA, ar-AE, ar-SA, da-DK, de-CH, de-DE, en-AB, * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, * vi-VN, sv-SE */ private String languageCode; /** *

* The sample rate, in hertz, of the audio track in your input media file. *

*

* Constraints:
* Range: 16000 - 48000
*/ private Integer mediaSampleRateHertz; /** *

* The format of the input media file. *

*

* Constraints:
* Allowed Values: mp3, mp4, wav, flac, ogg, amr, webm */ private String mediaFormat; /** *

* Describes the Amazon S3 location of the media file you want to use in * your request. *

*

* For information on supported media formats, refer to the MediaFormat parameter or the Media formats section in the Amazon S3 Developer Guide. *

*/ private Media media; /** *

* Provides you with the Amazon S3 URI you can use to access your * transcript. *

*/ private MedicalTranscript transcript; /** *

* 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:00 represents a transcription * job that started processing at 12:32 PM UTC-7 on May 4, 2022. *

*/ private java.util.Date startTime; /** *

* 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:00 represents a transcription * job that started processing at 12:32 PM UTC-7 on May 4, 2022. *

*/ private java.util.Date creationTime; /** *

* 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:00 represents a transcription * job that started processing at 12:33 PM UTC-7 on May 4, 2022. *

*/ private java.util.Date completionTime; /** *

* If TranscriptionJobStatus is FAILED, * FailureReason contains information about why the * transcription job request failed. *

*

* The FailureReason field contains one of the following * values: *

* */ private String failureReason; /** *

* 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. *

*/ private MedicalTranscriptionSetting settings; /** *

* Indicates whether content identification was enabled for your * transcription request. *

*

* Constraints:
* Allowed Values: PHI */ private String contentIdentificationType; /** *

* Describes the medical specialty represented in your media. *

*

* Constraints:
* Allowed Values: PRIMARYCARE */ private String specialty; /** *

* Indicates whether the input media is a dictation or a conversation, as * specified in the StartMedicalTranscriptionJob request. *

*

* Constraints:
* Allowed Values: CONVERSATION, DICTATION */ private String type; /** *

* The tags, each in the form of a key:value pair, assigned to the specified * medical transcription job. *

*/ private java.util.List tags; /** *

* The name of the medical transcription job. Job names are case sensitive * and must be unique within an Amazon Web Services account. *

*

* Constraints:
* Length: 1 - 200
* Pattern: ^[0-9a-zA-Z._-]+
* * @return

* The name of the medical transcription job. Job names are case * sensitive and must be unique within an Amazon Web Services * account. *

*/ public String getMedicalTranscriptionJobName() { return medicalTranscriptionJobName; } /** *

* The name of the medical transcription job. Job names are case sensitive * and must be unique within an Amazon Web Services account. *

*

* Constraints:
* Length: 1 - 200
* Pattern: ^[0-9a-zA-Z._-]+
* * @param medicalTranscriptionJobName

* The name of the medical transcription job. Job names are case * sensitive and must be unique within an Amazon Web Services * account. *

*/ public void setMedicalTranscriptionJobName(String medicalTranscriptionJobName) { this.medicalTranscriptionJobName = medicalTranscriptionJobName; } /** *

* The name of the medical transcription job. Job names are case sensitive * and must be unique within an Amazon Web Services account. *

*

* Returns a reference to this object so that method calls can be chained * together. *

* Constraints:
* Length: 1 - 200
* Pattern: ^[0-9a-zA-Z._-]+
* * @param medicalTranscriptionJobName

* The name of the medical transcription job. Job names are case * sensitive and must be unique within an Amazon Web Services * account. *

* @return A reference to this updated object so that method calls can be * chained together. */ public MedicalTranscriptionJob withMedicalTranscriptionJobName( String medicalTranscriptionJobName) { this.medicalTranscriptionJobName = medicalTranscriptionJobName; return this; } /** *

* 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 in * TranscriptFileUri. If the status is FAILED, * FailureReason provides details on why your transcription job * failed. *

*

* Constraints:
* Allowed Values: QUEUED, IN_PROGRESS, FAILED, COMPLETED * * @return

* 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 in * TranscriptFileUri. If the status is * FAILED, FailureReason provides details * on why your transcription job failed. *

* @see TranscriptionJobStatus */ public String getTranscriptionJobStatus() { return 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 in * TranscriptFileUri. If the status is FAILED, * FailureReason provides details on why your transcription job * failed. *

*

* Constraints:
* Allowed Values: QUEUED, IN_PROGRESS, FAILED, COMPLETED * * @param 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 in * TranscriptFileUri. If the status is * FAILED, FailureReason provides * details on why your transcription job failed. *

* @see TranscriptionJobStatus */ public void setTranscriptionJobStatus(String transcriptionJobStatus) { this.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 in * TranscriptFileUri. If the status is FAILED, * FailureReason provides details on why your transcription job * failed. *

*

* Returns a reference to this object so that method calls can be chained * together. *

* Constraints:
* Allowed Values: QUEUED, IN_PROGRESS, FAILED, COMPLETED * * @param 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 in * TranscriptFileUri. If the status is * FAILED, FailureReason provides * details on why your transcription job failed. *

* @return A reference to this updated object so that method calls can be * chained together. * @see TranscriptionJobStatus */ public MedicalTranscriptionJob withTranscriptionJobStatus(String transcriptionJobStatus) { this.transcriptionJobStatus = transcriptionJobStatus; return this; } /** *

* 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 in * TranscriptFileUri. If the status is FAILED, * FailureReason provides details on why your transcription job * failed. *

*

* Constraints:
* Allowed Values: QUEUED, IN_PROGRESS, FAILED, COMPLETED * * @param 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 in * TranscriptFileUri. If the status is * FAILED, FailureReason provides * details on why your transcription job failed. *

* @see TranscriptionJobStatus */ public void setTranscriptionJobStatus(TranscriptionJobStatus transcriptionJobStatus) { this.transcriptionJobStatus = transcriptionJobStatus.toString(); } /** *

* 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 in * TranscriptFileUri. If the status is FAILED, * FailureReason provides details on why your transcription job * failed. *

*

* Returns a reference to this object so that method calls can be chained * together. *

* Constraints:
* Allowed Values: QUEUED, IN_PROGRESS, FAILED, COMPLETED * * @param 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 in * TranscriptFileUri. If the status is * FAILED, FailureReason provides * details on why your transcription job failed. *

* @return A reference to this updated object so that method calls can be * chained together. * @see TranscriptionJobStatus */ public MedicalTranscriptionJob withTranscriptionJobStatus( TranscriptionJobStatus transcriptionJobStatus) { this.transcriptionJobStatus = transcriptionJobStatus.toString(); return this; } /** *

* The language code used to create your medical transcription job. US * English (en-US) is the only supported language for medical * transcriptions. *

*

* Constraints:
* Allowed Values: af-ZA, ar-AE, ar-SA, da-DK, de-CH, de-DE, en-AB, * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, * vi-VN, sv-SE * * @return

* The language code used to create your medical transcription job. * US English (en-US) is the only supported language * for medical transcriptions. *

* @see LanguageCode */ public String getLanguageCode() { return languageCode; } /** *

* The language code used to create your medical transcription job. US * English (en-US) is the only supported language for medical * transcriptions. *

*

* Constraints:
* Allowed Values: af-ZA, ar-AE, ar-SA, da-DK, de-CH, de-DE, en-AB, * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, * vi-VN, sv-SE * * @param languageCode

* The language code used to create your medical transcription * job. US English (en-US) is the only supported * language for medical transcriptions. *

* @see LanguageCode */ public void setLanguageCode(String languageCode) { this.languageCode = languageCode; } /** *

* The language code used to create your medical transcription job. US * English (en-US) is the only supported language for medical * transcriptions. *

*

* Returns a reference to this object so that method calls can be chained * together. *

* Constraints:
* Allowed Values: af-ZA, ar-AE, ar-SA, da-DK, de-CH, de-DE, en-AB, * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, * vi-VN, sv-SE * * @param languageCode

* The language code used to create your medical transcription * job. US English (en-US) is the only supported * language for medical transcriptions. *

* @return A reference to this updated object so that method calls can be * chained together. * @see LanguageCode */ public MedicalTranscriptionJob withLanguageCode(String languageCode) { this.languageCode = languageCode; return this; } /** *

* The language code used to create your medical transcription job. US * English (en-US) is the only supported language for medical * transcriptions. *

*

* Constraints:
* Allowed Values: af-ZA, ar-AE, ar-SA, da-DK, de-CH, de-DE, en-AB, * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, * vi-VN, sv-SE * * @param languageCode

* The language code used to create your medical transcription * job. US English (en-US) is the only supported * language for medical transcriptions. *

* @see LanguageCode */ public void setLanguageCode(LanguageCode languageCode) { this.languageCode = languageCode.toString(); } /** *

* The language code used to create your medical transcription job. US * English (en-US) is the only supported language for medical * transcriptions. *

*

* Returns a reference to this object so that method calls can be chained * together. *

* Constraints:
* Allowed Values: af-ZA, ar-AE, ar-SA, da-DK, de-CH, de-DE, en-AB, * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, * vi-VN, sv-SE * * @param languageCode

* The language code used to create your medical transcription * job. US English (en-US) is the only supported * language for medical transcriptions. *

* @return A reference to this updated object so that method calls can be * chained together. * @see LanguageCode */ public MedicalTranscriptionJob withLanguageCode(LanguageCode languageCode) { this.languageCode = languageCode.toString(); return this; } /** *

* The sample rate, in hertz, of the audio track in your input media file. *

*

* Constraints:
* Range: 16000 - 48000
* * @return

* The sample rate, in hertz, of the audio track in your input media * file. *

*/ public Integer getMediaSampleRateHertz() { return mediaSampleRateHertz; } /** *

* The sample rate, in hertz, of the audio track in your input media file. *

*

* Constraints:
* Range: 16000 - 48000
* * @param mediaSampleRateHertz

* The sample rate, in hertz, of the audio track in your input * media file. *

*/ public void setMediaSampleRateHertz(Integer mediaSampleRateHertz) { this.mediaSampleRateHertz = mediaSampleRateHertz; } /** *

* The sample rate, in hertz, of the audio track in your input media file. *

*

* Returns a reference to this object so that method calls can be chained * together. *

* Constraints:
* Range: 16000 - 48000
* * @param mediaSampleRateHertz

* The sample rate, in hertz, of the audio track in your input * media file. *

* @return A reference to this updated object so that method calls can be * chained together. */ public MedicalTranscriptionJob withMediaSampleRateHertz(Integer mediaSampleRateHertz) { this.mediaSampleRateHertz = mediaSampleRateHertz; return this; } /** *

* The format of the input media file. *

*

* Constraints:
* Allowed Values: mp3, mp4, wav, flac, ogg, amr, webm * * @return

* The format of the input media file. *

* @see MediaFormat */ public String getMediaFormat() { return mediaFormat; } /** *

* The format of the input media file. *

*

* Constraints:
* Allowed Values: mp3, mp4, wav, flac, ogg, amr, webm * * @param mediaFormat

* The format of the input media file. *

* @see MediaFormat */ public void setMediaFormat(String mediaFormat) { this.mediaFormat = mediaFormat; } /** *

* The format of the input media file. *

*

* Returns a reference to this object so that method calls can be chained * together. *

* Constraints:
* Allowed Values: mp3, mp4, wav, flac, ogg, amr, webm * * @param mediaFormat

* The format of the input media file. *

* @return A reference to this updated object so that method calls can be * chained together. * @see MediaFormat */ public MedicalTranscriptionJob withMediaFormat(String mediaFormat) { this.mediaFormat = mediaFormat; return this; } /** *

* The format of the input media file. *

*

* Constraints:
* Allowed Values: mp3, mp4, wav, flac, ogg, amr, webm * * @param mediaFormat

* The format of the input media file. *

* @see MediaFormat */ public void setMediaFormat(MediaFormat mediaFormat) { this.mediaFormat = mediaFormat.toString(); } /** *

* The format of the input media file. *

*

* Returns a reference to this object so that method calls can be chained * together. *

* Constraints:
* Allowed Values: mp3, mp4, wav, flac, ogg, amr, webm * * @param mediaFormat

* The format of the input media file. *

* @return A reference to this updated object so that method calls can be * chained together. * @see MediaFormat */ public MedicalTranscriptionJob withMediaFormat(MediaFormat mediaFormat) { this.mediaFormat = mediaFormat.toString(); return this; } /** *

* Describes the Amazon S3 location of the media file you want to use in * your request. *

*

* For information on supported media formats, refer to the MediaFormat parameter or the Media formats section in the Amazon S3 Developer Guide. *

* * @return

* Describes the Amazon S3 location of the media file you want to * use in your request. *

*

* For information on supported media formats, refer to the MediaFormat parameter or the Media formats section in the Amazon S3 Developer Guide. *

*/ public Media getMedia() { return media; } /** *

* Describes the Amazon S3 location of the media file you want to use in * your request. *

*

* For information on supported media formats, refer to the MediaFormat parameter or the Media formats section in the Amazon S3 Developer Guide. *

* * @param media

* Describes the Amazon S3 location of the media file you want to * use in your request. *

*

* For information on supported media formats, refer to the MediaFormat parameter or the Media formats section in the Amazon S3 Developer Guide. *

*/ public void setMedia(Media media) { this.media = media; } /** *

* Describes the Amazon S3 location of the media file you want to use in * your request. *

*

* For information on supported media formats, refer to the MediaFormat parameter or the Media formats section in the Amazon S3 Developer Guide. *

*

* Returns a reference to this object so that method calls can be chained * together. * * @param media

* Describes the Amazon S3 location of the media file you want to * use in your request. *

*

* For information on supported media formats, refer to the MediaFormat parameter or the Media formats section in the Amazon S3 Developer Guide. *

* @return A reference to this updated object so that method calls can be * chained together. */ public MedicalTranscriptionJob withMedia(Media media) { this.media = media; return this; } /** *

* Provides you with the Amazon S3 URI you can use to access your * transcript. *

* * @return

* Provides you with the Amazon S3 URI you can use to access your * transcript. *

*/ public MedicalTranscript getTranscript() { return transcript; } /** *

* Provides you with the Amazon S3 URI you can use to access your * transcript. *

* * @param transcript

* Provides you with the Amazon S3 URI you can use to access your * transcript. *

*/ public void setTranscript(MedicalTranscript transcript) { this.transcript = transcript; } /** *

* Provides you with the Amazon S3 URI you can use to access your * transcript. *

*

* Returns a reference to this object so that method calls can be chained * together. * * @param transcript

* Provides you with the Amazon S3 URI you can use to access your * transcript. *

* @return A reference to this updated object so that method calls can be * chained together. */ public MedicalTranscriptionJob withTranscript(MedicalTranscript transcript) { this.transcript = transcript; return this; } /** *

* 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:00 represents a transcription * job that started processing at 12:32 PM UTC-7 on May 4, 2022. *

* * @return

* 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:00 represents a * transcription job that started processing at 12:32 PM UTC-7 on * May 4, 2022. *

*/ public java.util.Date getStartTime() { return 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:00 represents a transcription * job that started processing at 12:32 PM UTC-7 on May 4, 2022. *

* * @param 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:00 represents a * transcription job that started processing at 12:32 PM UTC-7 on * May 4, 2022. *

*/ public void setStartTime(java.util.Date startTime) { this.startTime = 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:00 represents a transcription * job that started processing at 12:32 PM UTC-7 on May 4, 2022. *

*

* Returns a reference to this object so that method calls can be chained * together. * * @param 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:00 represents a * transcription job that started processing at 12:32 PM UTC-7 on * May 4, 2022. *

* @return A reference to this updated object so that method calls can be * chained together. */ public MedicalTranscriptionJob withStartTime(java.util.Date startTime) { this.startTime = startTime; return this; } /** *

* 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:00 represents a transcription * job that started processing at 12:32 PM UTC-7 on May 4, 2022. *

* * @return

* 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:00 represents a * transcription job that started processing at 12:32 PM UTC-7 on * May 4, 2022. *

*/ public java.util.Date getCreationTime() { return 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:00 represents a transcription * job that started processing at 12:32 PM UTC-7 on May 4, 2022. *

* * @param 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:00 represents a * transcription job that started processing at 12:32 PM UTC-7 on * May 4, 2022. *

*/ public void setCreationTime(java.util.Date creationTime) { this.creationTime = 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:00 represents a transcription * job that started processing at 12:32 PM UTC-7 on May 4, 2022. *

*

* Returns a reference to this object so that method calls can be chained * together. * * @param 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:00 represents a * transcription job that started processing at 12:32 PM UTC-7 on * May 4, 2022. *

* @return A reference to this updated object so that method calls can be * chained together. */ public MedicalTranscriptionJob withCreationTime(java.util.Date creationTime) { this.creationTime = creationTime; return this; } /** *

* 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:00 represents a transcription * job that started processing at 12:33 PM UTC-7 on May 4, 2022. *

* * @return

* 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:00 represents a * transcription job that started processing at 12:33 PM UTC-7 on * May 4, 2022. *

*/ public java.util.Date getCompletionTime() { return 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:00 represents a transcription * job that started processing at 12:33 PM UTC-7 on May 4, 2022. *

* * @param 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:00 represents a * transcription job that started processing at 12:33 PM UTC-7 on * May 4, 2022. *

*/ public void setCompletionTime(java.util.Date completionTime) { this.completionTime = 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:00 represents a transcription * job that started processing at 12:33 PM UTC-7 on May 4, 2022. *

*

* Returns a reference to this object so that method calls can be chained * together. * * @param 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:00 represents a * transcription job that started processing at 12:33 PM UTC-7 on * May 4, 2022. *

* @return A reference to this updated object so that method calls can be * chained together. */ public MedicalTranscriptionJob withCompletionTime(java.util.Date completionTime) { this.completionTime = completionTime; return this; } /** *

* If TranscriptionJobStatus is FAILED, * FailureReason contains information about why the * transcription job request failed. *

*

* The FailureReason field contains one of the following * values: *

* * * @return

* If TranscriptionJobStatus is FAILED, * FailureReason contains information about why the * transcription job request failed. *

*

* The FailureReason field contains one of the * following values: *

* */ public String getFailureReason() { return failureReason; } /** *

* If TranscriptionJobStatus is FAILED, * FailureReason contains information about why the * transcription job request failed. *

*

* The FailureReason field contains one of the following * values: *

* * * @param failureReason

* If TranscriptionJobStatus is FAILED, * FailureReason contains information about why the * transcription job request failed. *

*

* The FailureReason field contains one of the * following values: *

* */ public void setFailureReason(String failureReason) { this.failureReason = failureReason; } /** *

* If TranscriptionJobStatus is FAILED, * FailureReason contains information about why the * transcription job request failed. *

*

* The FailureReason field contains one of the following * values: *

* *

* Returns a reference to this object so that method calls can be chained * together. * * @param failureReason

* If TranscriptionJobStatus is FAILED, * FailureReason contains information about why the * transcription job request failed. *

*

* The FailureReason field contains one of the * following values: *

* * @return A reference to this updated object so that method calls can be * chained together. */ public MedicalTranscriptionJob withFailureReason(String failureReason) { this.failureReason = failureReason; return this; } /** *

* 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. *

* * @return

* 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. *

*/ public MedicalTranscriptionSetting getSettings() { return 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. *

* * @param 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. *

*/ public void setSettings(MedicalTranscriptionSetting settings) { this.settings = 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 a reference to this object so that method calls can be chained * together. * * @param 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. *

* @return A reference to this updated object so that method calls can be * chained together. */ public MedicalTranscriptionJob withSettings(MedicalTranscriptionSetting settings) { this.settings = settings; return this; } /** *

* Indicates whether content identification was enabled for your * transcription request. *

*

* Constraints:
* Allowed Values: PHI * * @return

* Indicates whether content identification was enabled for your * transcription request. *

* @see MedicalContentIdentificationType */ public String getContentIdentificationType() { return contentIdentificationType; } /** *

* Indicates whether content identification was enabled for your * transcription request. *

*

* Constraints:
* Allowed Values: PHI * * @param contentIdentificationType

* Indicates whether content identification was enabled for your * transcription request. *

* @see MedicalContentIdentificationType */ public void setContentIdentificationType(String contentIdentificationType) { this.contentIdentificationType = contentIdentificationType; } /** *

* Indicates whether content identification was enabled for your * transcription request. *

*

* Returns a reference to this object so that method calls can be chained * together. *

* Constraints:
* Allowed Values: PHI * * @param contentIdentificationType

* Indicates whether content identification was enabled for your * transcription request. *

* @return A reference to this updated object so that method calls can be * chained together. * @see MedicalContentIdentificationType */ public MedicalTranscriptionJob withContentIdentificationType(String contentIdentificationType) { this.contentIdentificationType = contentIdentificationType; return this; } /** *

* Indicates whether content identification was enabled for your * transcription request. *

*

* Constraints:
* Allowed Values: PHI * * @param contentIdentificationType

* Indicates whether content identification was enabled for your * transcription request. *

* @see MedicalContentIdentificationType */ public void setContentIdentificationType( MedicalContentIdentificationType contentIdentificationType) { this.contentIdentificationType = contentIdentificationType.toString(); } /** *

* Indicates whether content identification was enabled for your * transcription request. *

*

* Returns a reference to this object so that method calls can be chained * together. *

* Constraints:
* Allowed Values: PHI * * @param contentIdentificationType

* Indicates whether content identification was enabled for your * transcription request. *

* @return A reference to this updated object so that method calls can be * chained together. * @see MedicalContentIdentificationType */ public MedicalTranscriptionJob withContentIdentificationType( MedicalContentIdentificationType contentIdentificationType) { this.contentIdentificationType = contentIdentificationType.toString(); return this; } /** *

* Describes the medical specialty represented in your media. *

*

* Constraints:
* Allowed Values: PRIMARYCARE * * @return

* Describes the medical specialty represented in your media. *

* @see Specialty */ public String getSpecialty() { return specialty; } /** *

* Describes the medical specialty represented in your media. *

*

* Constraints:
* Allowed Values: PRIMARYCARE * * @param specialty

* Describes the medical specialty represented in your media. *

* @see Specialty */ public void setSpecialty(String specialty) { this.specialty = specialty; } /** *

* Describes the medical specialty represented in your media. *

*

* Returns a reference to this object so that method calls can be chained * together. *

* Constraints:
* Allowed Values: PRIMARYCARE * * @param specialty

* Describes the medical specialty represented in your media. *

* @return A reference to this updated object so that method calls can be * chained together. * @see Specialty */ public MedicalTranscriptionJob withSpecialty(String specialty) { this.specialty = specialty; return this; } /** *

* Describes the medical specialty represented in your media. *

*

* Constraints:
* Allowed Values: PRIMARYCARE * * @param specialty

* Describes the medical specialty represented in your media. *

* @see Specialty */ public void setSpecialty(Specialty specialty) { this.specialty = specialty.toString(); } /** *

* Describes the medical specialty represented in your media. *

*

* Returns a reference to this object so that method calls can be chained * together. *

* Constraints:
* Allowed Values: PRIMARYCARE * * @param specialty

* Describes the medical specialty represented in your media. *

* @return A reference to this updated object so that method calls can be * chained together. * @see Specialty */ public MedicalTranscriptionJob withSpecialty(Specialty specialty) { this.specialty = specialty.toString(); return this; } /** *

* Indicates whether the input media is a dictation or a conversation, as * specified in the StartMedicalTranscriptionJob request. *

*

* Constraints:
* Allowed Values: CONVERSATION, DICTATION * * @return

* Indicates whether the input media is a dictation or a * conversation, as specified in the * StartMedicalTranscriptionJob request. *

* @see Type */ public String getType() { return type; } /** *

* Indicates whether the input media is a dictation or a conversation, as * specified in the StartMedicalTranscriptionJob request. *

*

* Constraints:
* Allowed Values: CONVERSATION, DICTATION * * @param type

* Indicates whether the input media is a dictation or a * conversation, as specified in the * StartMedicalTranscriptionJob request. *

* @see Type */ public void setType(String type) { this.type = type; } /** *

* Indicates whether the input media is a dictation or a conversation, as * specified in the StartMedicalTranscriptionJob request. *

*

* Returns a reference to this object so that method calls can be chained * together. *

* Constraints:
* Allowed Values: CONVERSATION, DICTATION * * @param type

* Indicates whether the input media is a dictation or a * conversation, as specified in the * StartMedicalTranscriptionJob request. *

* @return A reference to this updated object so that method calls can be * chained together. * @see Type */ public MedicalTranscriptionJob withType(String type) { this.type = type; return this; } /** *

* Indicates whether the input media is a dictation or a conversation, as * specified in the StartMedicalTranscriptionJob request. *

*

* Constraints:
* Allowed Values: CONVERSATION, DICTATION * * @param type

* Indicates whether the input media is a dictation or a * conversation, as specified in the * StartMedicalTranscriptionJob request. *

* @see Type */ public void setType(Type type) { this.type = type.toString(); } /** *

* Indicates whether the input media is a dictation or a conversation, as * specified in the StartMedicalTranscriptionJob request. *

*

* Returns a reference to this object so that method calls can be chained * together. *

* Constraints:
* Allowed Values: CONVERSATION, DICTATION * * @param type

* Indicates whether the input media is a dictation or a * conversation, as specified in the * StartMedicalTranscriptionJob request. *

* @return A reference to this updated object so that method calls can be * chained together. * @see Type */ public MedicalTranscriptionJob withType(Type type) { this.type = type.toString(); return this; } /** *

* The tags, each in the form of a key:value pair, assigned to the specified * medical transcription job. *

* * @return

* The tags, each in the form of a key:value pair, assigned to the * specified medical transcription job. *

*/ public java.util.List getTags() { return tags; } /** *

* The tags, each in the form of a key:value pair, assigned to the specified * medical transcription job. *

* * @param tags

* The tags, each in the form of a key:value pair, assigned to * the specified medical transcription job. *

*/ public void setTags(java.util.Collection tags) { if (tags == null) { this.tags = null; return; } this.tags = new java.util.ArrayList(tags); } /** *

* The tags, each in the form of a key:value pair, assigned to the specified * medical transcription job. *

*

* Returns a reference to this object so that method calls can be chained * together. * * @param tags

* The tags, each in the form of a key:value pair, assigned to * the specified medical transcription job. *

* @return A reference to this updated object so that method calls can be * chained together. */ public MedicalTranscriptionJob withTags(Tag... tags) { if (getTags() == null) { this.tags = new java.util.ArrayList(tags.length); } for (Tag value : tags) { this.tags.add(value); } return this; } /** *

* The tags, each in the form of a key:value pair, assigned to the specified * medical transcription job. *

*

* Returns a reference to this object so that method calls can be chained * together. * * @param tags

* The tags, each in the form of a key:value pair, assigned to * the specified medical transcription job. *

* @return A reference to this updated object so that method calls can be * chained together. */ public MedicalTranscriptionJob withTags(java.util.Collection tags) { setTags(tags); return this; } /** * Returns a string representation of this object; useful for testing and * debugging. * * @return A string representation of this object. * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getMedicalTranscriptionJobName() != null) sb.append("MedicalTranscriptionJobName: " + getMedicalTranscriptionJobName() + ","); if (getTranscriptionJobStatus() != null) sb.append("TranscriptionJobStatus: " + getTranscriptionJobStatus() + ","); if (getLanguageCode() != null) sb.append("LanguageCode: " + getLanguageCode() + ","); if (getMediaSampleRateHertz() != null) sb.append("MediaSampleRateHertz: " + getMediaSampleRateHertz() + ","); if (getMediaFormat() != null) sb.append("MediaFormat: " + getMediaFormat() + ","); if (getMedia() != null) sb.append("Media: " + getMedia() + ","); if (getTranscript() != null) sb.append("Transcript: " + getTranscript() + ","); if (getStartTime() != null) sb.append("StartTime: " + getStartTime() + ","); if (getCreationTime() != null) sb.append("CreationTime: " + getCreationTime() + ","); if (getCompletionTime() != null) sb.append("CompletionTime: " + getCompletionTime() + ","); if (getFailureReason() != null) sb.append("FailureReason: " + getFailureReason() + ","); if (getSettings() != null) sb.append("Settings: " + getSettings() + ","); if (getContentIdentificationType() != null) sb.append("ContentIdentificationType: " + getContentIdentificationType() + ","); if (getSpecialty() != null) sb.append("Specialty: " + getSpecialty() + ","); if (getType() != null) sb.append("Type: " + getType() + ","); if (getTags() != null) sb.append("Tags: " + getTags()); sb.append("}"); return sb.toString(); } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getMedicalTranscriptionJobName() == null) ? 0 : getMedicalTranscriptionJobName().hashCode()); hashCode = prime * hashCode + ((getTranscriptionJobStatus() == null) ? 0 : getTranscriptionJobStatus() .hashCode()); hashCode = prime * hashCode + ((getLanguageCode() == null) ? 0 : getLanguageCode().hashCode()); hashCode = prime * hashCode + ((getMediaSampleRateHertz() == null) ? 0 : getMediaSampleRateHertz().hashCode()); hashCode = prime * hashCode + ((getMediaFormat() == null) ? 0 : getMediaFormat().hashCode()); hashCode = prime * hashCode + ((getMedia() == null) ? 0 : getMedia().hashCode()); hashCode = prime * hashCode + ((getTranscript() == null) ? 0 : getTranscript().hashCode()); hashCode = prime * hashCode + ((getStartTime() == null) ? 0 : getStartTime().hashCode()); hashCode = prime * hashCode + ((getCreationTime() == null) ? 0 : getCreationTime().hashCode()); hashCode = prime * hashCode + ((getCompletionTime() == null) ? 0 : getCompletionTime().hashCode()); hashCode = prime * hashCode + ((getFailureReason() == null) ? 0 : getFailureReason().hashCode()); hashCode = prime * hashCode + ((getSettings() == null) ? 0 : getSettings().hashCode()); hashCode = prime * hashCode + ((getContentIdentificationType() == null) ? 0 : getContentIdentificationType() .hashCode()); hashCode = prime * hashCode + ((getSpecialty() == null) ? 0 : getSpecialty().hashCode()); hashCode = prime * hashCode + ((getType() == null) ? 0 : getType().hashCode()); hashCode = prime * hashCode + ((getTags() == null) ? 0 : getTags().hashCode()); return hashCode; } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof MedicalTranscriptionJob == false) return false; MedicalTranscriptionJob other = (MedicalTranscriptionJob) obj; if (other.getMedicalTranscriptionJobName() == null ^ this.getMedicalTranscriptionJobName() == null) return false; if (other.getMedicalTranscriptionJobName() != null && other.getMedicalTranscriptionJobName().equals( this.getMedicalTranscriptionJobName()) == false) return false; if (other.getTranscriptionJobStatus() == null ^ this.getTranscriptionJobStatus() == null) return false; if (other.getTranscriptionJobStatus() != null && other.getTranscriptionJobStatus().equals(this.getTranscriptionJobStatus()) == false) return false; if (other.getLanguageCode() == null ^ this.getLanguageCode() == null) return false; if (other.getLanguageCode() != null && other.getLanguageCode().equals(this.getLanguageCode()) == false) return false; if (other.getMediaSampleRateHertz() == null ^ this.getMediaSampleRateHertz() == null) return false; if (other.getMediaSampleRateHertz() != null && other.getMediaSampleRateHertz().equals(this.getMediaSampleRateHertz()) == false) return false; if (other.getMediaFormat() == null ^ this.getMediaFormat() == null) return false; if (other.getMediaFormat() != null && other.getMediaFormat().equals(this.getMediaFormat()) == false) return false; if (other.getMedia() == null ^ this.getMedia() == null) return false; if (other.getMedia() != null && other.getMedia().equals(this.getMedia()) == false) return false; if (other.getTranscript() == null ^ this.getTranscript() == null) return false; if (other.getTranscript() != null && other.getTranscript().equals(this.getTranscript()) == false) return false; if (other.getStartTime() == null ^ this.getStartTime() == null) return false; if (other.getStartTime() != null && other.getStartTime().equals(this.getStartTime()) == false) return false; if (other.getCreationTime() == null ^ this.getCreationTime() == null) return false; if (other.getCreationTime() != null && other.getCreationTime().equals(this.getCreationTime()) == false) return false; if (other.getCompletionTime() == null ^ this.getCompletionTime() == null) return false; if (other.getCompletionTime() != null && other.getCompletionTime().equals(this.getCompletionTime()) == false) return false; if (other.getFailureReason() == null ^ this.getFailureReason() == null) return false; if (other.getFailureReason() != null && other.getFailureReason().equals(this.getFailureReason()) == false) return false; if (other.getSettings() == null ^ this.getSettings() == null) return false; if (other.getSettings() != null && other.getSettings().equals(this.getSettings()) == false) return false; if (other.getContentIdentificationType() == null ^ this.getContentIdentificationType() == null) return false; if (other.getContentIdentificationType() != null && other.getContentIdentificationType().equals(this.getContentIdentificationType()) == false) return false; if (other.getSpecialty() == null ^ this.getSpecialty() == null) return false; if (other.getSpecialty() != null && other.getSpecialty().equals(this.getSpecialty()) == false) return false; if (other.getType() == null ^ this.getType() == null) return false; if (other.getType() != null && other.getType().equals(this.getType()) == false) return false; if (other.getTags() == null ^ this.getTags() == null) return false; if (other.getTags() != null && other.getTags().equals(this.getTags()) == false) return false; return true; } }