@@ -80,7 +80,7 @@ public class StartMedicalTranscriptionJobRequest extends AmazonWebServiceRequest
8080 * </p>
8181 * <p>
8282 * <b>Constraints:</b><br/>
83- * <b>Allowed Values: </b>mp3, mp4, wav, flac
83+ * <b>Allowed Values: </b>mp3, mp4, wav, flac, ogg, amr, webm
8484 */
8585 private String mediaFormat ;
8686
@@ -120,6 +120,37 @@ public class StartMedicalTranscriptionJobRequest extends AmazonWebServiceRequest
120120 */
121121 private String outputBucketName ;
122122
123+ /**
124+ * <p>
125+ * You can specify a location in an Amazon S3 bucket to store the output of
126+ * your medical transcription job.
127+ * </p>
128+ * <p>
129+ * If you don't specify an output key, Amazon Transcribe Medical stores the
130+ * output of your transcription job in the Amazon S3 bucket you specified.
131+ * By default, the object key is "your-transcription-job-name.json".
132+ * </p>
133+ * <p>
134+ * You can use output keys to specify the Amazon S3 prefix and file name of
135+ * the transcription output. For example, specifying the Amazon S3 prefix,
136+ * "folder1/folder2/", as an output key would lead to the output being
137+ * stored as "folder1/folder2/your-transcription-job-name.json". If you
138+ * specify "my-other-job-name.json" as the output key, the object key is
139+ * changed to "my-other-job-name.json". You can use an output key to change
140+ * both the prefix and the file name, for example
141+ * "folder/my-other-job-name.json".
142+ * </p>
143+ * <p>
144+ * If you specify an output key, you must also specify an S3 bucket in the
145+ * <code>OutputBucketName</code> parameter.
146+ * </p>
147+ * <p>
148+ * <b>Constraints:</b><br/>
149+ * <b>Length: </b>1 - 1024<br/>
150+ * <b>Pattern: </b>[a-zA-Z0-9-_.!*'()/]{1,1024}$<br/>
151+ */
152+ private String outputKey ;
153+
123154 /**
124155 * <p>
125156 * The Amazon Resource Name (ARN) of the AWS Key Management Service (KMS)
@@ -542,7 +573,7 @@ public StartMedicalTranscriptionJobRequest withMediaSampleRateHertz(Integer medi
542573 * </p>
543574 * <p>
544575 * <b>Constraints:</b><br/>
545- * <b>Allowed Values: </b>mp3, mp4, wav, flac
576+ * <b>Allowed Values: </b>mp3, mp4, wav, flac, ogg, amr, webm
546577 *
547578 * @return <p>
548579 * The audio format of the input media file.
@@ -559,7 +590,7 @@ public String getMediaFormat() {
559590 * </p>
560591 * <p>
561592 * <b>Constraints:</b><br/>
562- * <b>Allowed Values: </b>mp3, mp4, wav, flac
593+ * <b>Allowed Values: </b>mp3, mp4, wav, flac, ogg, amr, webm
563594 *
564595 * @param mediaFormat <p>
565596 * The audio format of the input media file.
@@ -579,7 +610,7 @@ public void setMediaFormat(String mediaFormat) {
579610 * together.
580611 * <p>
581612 * <b>Constraints:</b><br/>
582- * <b>Allowed Values: </b>mp3, mp4, wav, flac
613+ * <b>Allowed Values: </b>mp3, mp4, wav, flac, ogg, amr, webm
583614 *
584615 * @param mediaFormat <p>
585616 * The audio format of the input media file.
@@ -599,7 +630,7 @@ public StartMedicalTranscriptionJobRequest withMediaFormat(String mediaFormat) {
599630 * </p>
600631 * <p>
601632 * <b>Constraints:</b><br/>
602- * <b>Allowed Values: </b>mp3, mp4, wav, flac
633+ * <b>Allowed Values: </b>mp3, mp4, wav, flac, ogg, amr, webm
603634 *
604635 * @param mediaFormat <p>
605636 * The audio format of the input media file.
@@ -619,7 +650,7 @@ public void setMediaFormat(MediaFormat mediaFormat) {
619650 * together.
620651 * <p>
621652 * <b>Constraints:</b><br/>
622- * <b>Allowed Values: </b>mp3, mp4, wav, flac
653+ * <b>Allowed Values: </b>mp3, mp4, wav, flac, ogg, amr, webm
623654 *
624655 * @param mediaFormat <p>
625656 * The audio format of the input media file.
@@ -848,6 +879,189 @@ public StartMedicalTranscriptionJobRequest withOutputBucketName(String outputBuc
848879 return this ;
849880 }
850881
882+ /**
883+ * <p>
884+ * You can specify a location in an Amazon S3 bucket to store the output of
885+ * your medical transcription job.
886+ * </p>
887+ * <p>
888+ * If you don't specify an output key, Amazon Transcribe Medical stores the
889+ * output of your transcription job in the Amazon S3 bucket you specified.
890+ * By default, the object key is "your-transcription-job-name.json".
891+ * </p>
892+ * <p>
893+ * You can use output keys to specify the Amazon S3 prefix and file name of
894+ * the transcription output. For example, specifying the Amazon S3 prefix,
895+ * "folder1/folder2/", as an output key would lead to the output being
896+ * stored as "folder1/folder2/your-transcription-job-name.json". If you
897+ * specify "my-other-job-name.json" as the output key, the object key is
898+ * changed to "my-other-job-name.json". You can use an output key to change
899+ * both the prefix and the file name, for example
900+ * "folder/my-other-job-name.json".
901+ * </p>
902+ * <p>
903+ * If you specify an output key, you must also specify an S3 bucket in the
904+ * <code>OutputBucketName</code> parameter.
905+ * </p>
906+ * <p>
907+ * <b>Constraints:</b><br/>
908+ * <b>Length: </b>1 - 1024<br/>
909+ * <b>Pattern: </b>[a-zA-Z0-9-_.!*'()/]{1,1024}$<br/>
910+ *
911+ * @return <p>
912+ * You can specify a location in an Amazon S3 bucket to store the
913+ * output of your medical transcription job.
914+ * </p>
915+ * <p>
916+ * If you don't specify an output key, Amazon Transcribe Medical
917+ * stores the output of your transcription job in the Amazon S3
918+ * bucket you specified. By default, the object key is
919+ * "your-transcription-job-name.json".
920+ * </p>
921+ * <p>
922+ * You can use output keys to specify the Amazon S3 prefix and file
923+ * name of the transcription output. For example, specifying the
924+ * Amazon S3 prefix, "folder1/folder2/", as an output key would lead
925+ * to the output being stored as
926+ * "folder1/folder2/your-transcription-job-name.json". If you
927+ * specify "my-other-job-name.json" as the output key, the object
928+ * key is changed to "my-other-job-name.json". You can use an output
929+ * key to change both the prefix and the file name, for example
930+ * "folder/my-other-job-name.json".
931+ * </p>
932+ * <p>
933+ * If you specify an output key, you must also specify an S3 bucket
934+ * in the <code>OutputBucketName</code> parameter.
935+ * </p>
936+ */
937+ public String getOutputKey () {
938+ return outputKey ;
939+ }
940+
941+ /**
942+ * <p>
943+ * You can specify a location in an Amazon S3 bucket to store the output of
944+ * your medical transcription job.
945+ * </p>
946+ * <p>
947+ * If you don't specify an output key, Amazon Transcribe Medical stores the
948+ * output of your transcription job in the Amazon S3 bucket you specified.
949+ * By default, the object key is "your-transcription-job-name.json".
950+ * </p>
951+ * <p>
952+ * You can use output keys to specify the Amazon S3 prefix and file name of
953+ * the transcription output. For example, specifying the Amazon S3 prefix,
954+ * "folder1/folder2/", as an output key would lead to the output being
955+ * stored as "folder1/folder2/your-transcription-job-name.json". If you
956+ * specify "my-other-job-name.json" as the output key, the object key is
957+ * changed to "my-other-job-name.json". You can use an output key to change
958+ * both the prefix and the file name, for example
959+ * "folder/my-other-job-name.json".
960+ * </p>
961+ * <p>
962+ * If you specify an output key, you must also specify an S3 bucket in the
963+ * <code>OutputBucketName</code> parameter.
964+ * </p>
965+ * <p>
966+ * <b>Constraints:</b><br/>
967+ * <b>Length: </b>1 - 1024<br/>
968+ * <b>Pattern: </b>[a-zA-Z0-9-_.!*'()/]{1,1024}$<br/>
969+ *
970+ * @param outputKey <p>
971+ * You can specify a location in an Amazon S3 bucket to store the
972+ * output of your medical transcription job.
973+ * </p>
974+ * <p>
975+ * If you don't specify an output key, Amazon Transcribe Medical
976+ * stores the output of your transcription job in the Amazon S3
977+ * bucket you specified. By default, the object key is
978+ * "your-transcription-job-name.json".
979+ * </p>
980+ * <p>
981+ * You can use output keys to specify the Amazon S3 prefix and
982+ * file name of the transcription output. For example, specifying
983+ * the Amazon S3 prefix, "folder1/folder2/", as an output key
984+ * would lead to the output being stored as
985+ * "folder1/folder2/your-transcription-job-name.json". If you
986+ * specify "my-other-job-name.json" as the output key, the object
987+ * key is changed to "my-other-job-name.json". You can use an
988+ * output key to change both the prefix and the file name, for
989+ * example "folder/my-other-job-name.json".
990+ * </p>
991+ * <p>
992+ * If you specify an output key, you must also specify an S3
993+ * bucket in the <code>OutputBucketName</code> parameter.
994+ * </p>
995+ */
996+ public void setOutputKey (String outputKey ) {
997+ this .outputKey = outputKey ;
998+ }
999+
1000+ /**
1001+ * <p>
1002+ * You can specify a location in an Amazon S3 bucket to store the output of
1003+ * your medical transcription job.
1004+ * </p>
1005+ * <p>
1006+ * If you don't specify an output key, Amazon Transcribe Medical stores the
1007+ * output of your transcription job in the Amazon S3 bucket you specified.
1008+ * By default, the object key is "your-transcription-job-name.json".
1009+ * </p>
1010+ * <p>
1011+ * You can use output keys to specify the Amazon S3 prefix and file name of
1012+ * the transcription output. For example, specifying the Amazon S3 prefix,
1013+ * "folder1/folder2/", as an output key would lead to the output being
1014+ * stored as "folder1/folder2/your-transcription-job-name.json". If you
1015+ * specify "my-other-job-name.json" as the output key, the object key is
1016+ * changed to "my-other-job-name.json". You can use an output key to change
1017+ * both the prefix and the file name, for example
1018+ * "folder/my-other-job-name.json".
1019+ * </p>
1020+ * <p>
1021+ * If you specify an output key, you must also specify an S3 bucket in the
1022+ * <code>OutputBucketName</code> parameter.
1023+ * </p>
1024+ * <p>
1025+ * Returns a reference to this object so that method calls can be chained
1026+ * together.
1027+ * <p>
1028+ * <b>Constraints:</b><br/>
1029+ * <b>Length: </b>1 - 1024<br/>
1030+ * <b>Pattern: </b>[a-zA-Z0-9-_.!*'()/]{1,1024}$<br/>
1031+ *
1032+ * @param outputKey <p>
1033+ * You can specify a location in an Amazon S3 bucket to store the
1034+ * output of your medical transcription job.
1035+ * </p>
1036+ * <p>
1037+ * If you don't specify an output key, Amazon Transcribe Medical
1038+ * stores the output of your transcription job in the Amazon S3
1039+ * bucket you specified. By default, the object key is
1040+ * "your-transcription-job-name.json".
1041+ * </p>
1042+ * <p>
1043+ * You can use output keys to specify the Amazon S3 prefix and
1044+ * file name of the transcription output. For example, specifying
1045+ * the Amazon S3 prefix, "folder1/folder2/", as an output key
1046+ * would lead to the output being stored as
1047+ * "folder1/folder2/your-transcription-job-name.json". If you
1048+ * specify "my-other-job-name.json" as the output key, the object
1049+ * key is changed to "my-other-job-name.json". You can use an
1050+ * output key to change both the prefix and the file name, for
1051+ * example "folder/my-other-job-name.json".
1052+ * </p>
1053+ * <p>
1054+ * If you specify an output key, you must also specify an S3
1055+ * bucket in the <code>OutputBucketName</code> parameter.
1056+ * </p>
1057+ * @return A reference to this updated object so that method calls can be
1058+ * chained together.
1059+ */
1060+ public StartMedicalTranscriptionJobRequest withOutputKey (String outputKey ) {
1061+ this .outputKey = outputKey ;
1062+ return this ;
1063+ }
1064+
8511065 /**
8521066 * <p>
8531067 * The Amazon Resource Name (ARN) of the AWS Key Management Service (KMS)
@@ -1492,6 +1706,8 @@ public String toString() {
14921706 sb .append ("Media: " + getMedia () + "," );
14931707 if (getOutputBucketName () != null )
14941708 sb .append ("OutputBucketName: " + getOutputBucketName () + "," );
1709+ if (getOutputKey () != null )
1710+ sb .append ("OutputKey: " + getOutputKey () + "," );
14951711 if (getOutputEncryptionKMSKeyId () != null )
14961712 sb .append ("OutputEncryptionKMSKeyId: " + getOutputEncryptionKMSKeyId () + "," );
14971713 if (getSettings () != null )
@@ -1522,6 +1738,7 @@ public int hashCode() {
15221738 hashCode = prime * hashCode + ((getMedia () == null ) ? 0 : getMedia ().hashCode ());
15231739 hashCode = prime * hashCode
15241740 + ((getOutputBucketName () == null ) ? 0 : getOutputBucketName ().hashCode ());
1741+ hashCode = prime * hashCode + ((getOutputKey () == null ) ? 0 : getOutputKey ().hashCode ());
15251742 hashCode = prime
15261743 * hashCode
15271744 + ((getOutputEncryptionKMSKeyId () == null ) ? 0 : getOutputEncryptionKMSKeyId ()
@@ -1574,6 +1791,11 @@ public boolean equals(Object obj) {
15741791 if (other .getOutputBucketName () != null
15751792 && other .getOutputBucketName ().equals (this .getOutputBucketName ()) == false )
15761793 return false ;
1794+ if (other .getOutputKey () == null ^ this .getOutputKey () == null )
1795+ return false ;
1796+ if (other .getOutputKey () != null
1797+ && other .getOutputKey ().equals (this .getOutputKey ()) == false )
1798+ return false ;
15771799 if (other .getOutputEncryptionKMSKeyId () == null
15781800 ^ this .getOutputEncryptionKMSKeyId () == null )
15791801 return false ;
0 commit comments