public class CreateMedicalVocabularyRequest extends AmazonWebServiceRequest implements java.io.Serializable
Creates a new custom vocabulary that you can use to change how Amazon Transcribe Medical transcribes your audio file.
Constructor and Description |
---|
CreateMedicalVocabularyRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getLanguageCode()
The language code for the language used for the entries in your custom
vocabulary.
|
java.lang.String |
getVocabularyFileUri()
The location in Amazon S3 of the text file you use to define your custom
vocabulary.
|
java.lang.String |
getVocabularyName()
The name of the custom vocabulary.
|
int |
hashCode() |
void |
setLanguageCode(LanguageCode languageCode)
The language code for the language used for the entries in your custom
vocabulary.
|
void |
setLanguageCode(java.lang.String languageCode)
The language code for the language used for the entries in your custom
vocabulary.
|
void |
setVocabularyFileUri(java.lang.String vocabularyFileUri)
The location in Amazon S3 of the text file you use to define your custom
vocabulary.
|
void |
setVocabularyName(java.lang.String vocabularyName)
The name of the custom vocabulary.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateMedicalVocabularyRequest |
withLanguageCode(LanguageCode languageCode)
The language code for the language used for the entries in your custom
vocabulary.
|
CreateMedicalVocabularyRequest |
withLanguageCode(java.lang.String languageCode)
The language code for the language used for the entries in your custom
vocabulary.
|
CreateMedicalVocabularyRequest |
withVocabularyFileUri(java.lang.String vocabularyFileUri)
The location in Amazon S3 of the text file you use to define your custom
vocabulary.
|
CreateMedicalVocabularyRequest |
withVocabularyName(java.lang.String vocabularyName)
The name of the custom vocabulary.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getVocabularyName()
The name of the custom vocabulary. This case-sensitive name must be
unique within an AWS account. If you try to create a vocabulary with the
same name as a previous vocabulary, you get a
ConflictException
error.
Constraints:
Length: 1 - 200
Pattern: ^[0-9a-zA-Z._-]+
The name of the custom vocabulary. This case-sensitive name must
be unique within an AWS account. If you try to create a
vocabulary with the same name as a previous vocabulary, you get a
ConflictException
error.
public void setVocabularyName(java.lang.String vocabularyName)
The name of the custom vocabulary. This case-sensitive name must be
unique within an AWS account. If you try to create a vocabulary with the
same name as a previous vocabulary, you get a
ConflictException
error.
Constraints:
Length: 1 - 200
Pattern: ^[0-9a-zA-Z._-]+
vocabularyName
-
The name of the custom vocabulary. This case-sensitive name
must be unique within an AWS account. If you try to create a
vocabulary with the same name as a previous vocabulary, you
get a ConflictException
error.
public CreateMedicalVocabularyRequest withVocabularyName(java.lang.String vocabularyName)
The name of the custom vocabulary. This case-sensitive name must be
unique within an AWS account. If you try to create a vocabulary with the
same name as a previous vocabulary, you get a
ConflictException
error.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 200
Pattern: ^[0-9a-zA-Z._-]+
vocabularyName
-
The name of the custom vocabulary. This case-sensitive name
must be unique within an AWS account. If you try to create a
vocabulary with the same name as a previous vocabulary, you
get a ConflictException
error.
public java.lang.String getLanguageCode()
The language code for the language used for the entries in your custom vocabulary. The language code of your custom vocabulary must match the language code of your transcription job. US English (en-US) is the only language code available for Amazon Transcribe Medical.
Constraints:
Allowed Values: af-ZA, ar-AE, ar-SA, cy-GB, 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, ga-IE, gd-GB, 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
The language code for the language used for the entries in your custom vocabulary. The language code of your custom vocabulary must match the language code of your transcription job. US English (en-US) is the only language code available for Amazon Transcribe Medical.
LanguageCode
public void setLanguageCode(java.lang.String languageCode)
The language code for the language used for the entries in your custom vocabulary. The language code of your custom vocabulary must match the language code of your transcription job. US English (en-US) is the only language code available for Amazon Transcribe Medical.
Constraints:
Allowed Values: af-ZA, ar-AE, ar-SA, cy-GB, 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, ga-IE, gd-GB, 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
languageCode
- The language code for the language used for the entries in your custom vocabulary. The language code of your custom vocabulary must match the language code of your transcription job. US English (en-US) is the only language code available for Amazon Transcribe Medical.
LanguageCode
public CreateMedicalVocabularyRequest withLanguageCode(java.lang.String languageCode)
The language code for the language used for the entries in your custom vocabulary. The language code of your custom vocabulary must match the language code of your transcription job. US English (en-US) is the only language code available for Amazon Transcribe Medical.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: af-ZA, ar-AE, ar-SA, cy-GB, 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, ga-IE, gd-GB, 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
languageCode
- The language code for the language used for the entries in your custom vocabulary. The language code of your custom vocabulary must match the language code of your transcription job. US English (en-US) is the only language code available for Amazon Transcribe Medical.
LanguageCode
public void setLanguageCode(LanguageCode languageCode)
The language code for the language used for the entries in your custom vocabulary. The language code of your custom vocabulary must match the language code of your transcription job. US English (en-US) is the only language code available for Amazon Transcribe Medical.
Constraints:
Allowed Values: af-ZA, ar-AE, ar-SA, cy-GB, 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, ga-IE, gd-GB, 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
languageCode
- The language code for the language used for the entries in your custom vocabulary. The language code of your custom vocabulary must match the language code of your transcription job. US English (en-US) is the only language code available for Amazon Transcribe Medical.
LanguageCode
public CreateMedicalVocabularyRequest withLanguageCode(LanguageCode languageCode)
The language code for the language used for the entries in your custom vocabulary. The language code of your custom vocabulary must match the language code of your transcription job. US English (en-US) is the only language code available for Amazon Transcribe Medical.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: af-ZA, ar-AE, ar-SA, cy-GB, 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, ga-IE, gd-GB, 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
languageCode
- The language code for the language used for the entries in your custom vocabulary. The language code of your custom vocabulary must match the language code of your transcription job. US English (en-US) is the only language code available for Amazon Transcribe Medical.
LanguageCode
public java.lang.String getVocabularyFileUri()
The location in Amazon S3 of the text file you use to define your custom
vocabulary. The URI must be in the same AWS Region as the resource that
you're calling. Enter information about your
VocabularyFileUri
in the following format:
https://s3.<aws-region>.amazonaws.com/<bucket-name>/<keyprefix>/<objectkey>
The following is an example URI for a vocabulary file that is stored in Amazon S3:
https://s3.us-east-1.amazonaws.com/AWSDOC-EXAMPLE-BUCKET/vocab.txt
For more information about Amazon S3 object names, see Object Keys in the Amazon S3 Developer Guide.
For more information about custom vocabularies, see Medical Custom Vocabularies.
Constraints:
Length: 1 - 2000
Pattern: (s3://|http(s*)://).+
The location in Amazon S3 of the text file you use to define your
custom vocabulary. The URI must be in the same AWS Region as the
resource that you're calling. Enter information about your
VocabularyFileUri
in the following format:
https://s3.<aws-region>.amazonaws.com/<bucket-name>/<keyprefix>/<objectkey>
The following is an example URI for a vocabulary file that is stored in Amazon S3:
https://s3.us-east-1.amazonaws.com/AWSDOC-EXAMPLE-BUCKET/vocab.txt
For more information about Amazon S3 object names, see Object Keys in the Amazon S3 Developer Guide.
For more information about custom vocabularies, see Medical Custom Vocabularies.
public void setVocabularyFileUri(java.lang.String vocabularyFileUri)
The location in Amazon S3 of the text file you use to define your custom
vocabulary. The URI must be in the same AWS Region as the resource that
you're calling. Enter information about your
VocabularyFileUri
in the following format:
https://s3.<aws-region>.amazonaws.com/<bucket-name>/<keyprefix>/<objectkey>
The following is an example URI for a vocabulary file that is stored in Amazon S3:
https://s3.us-east-1.amazonaws.com/AWSDOC-EXAMPLE-BUCKET/vocab.txt
For more information about Amazon S3 object names, see Object Keys in the Amazon S3 Developer Guide.
For more information about custom vocabularies, see Medical Custom Vocabularies.
Constraints:
Length: 1 - 2000
Pattern: (s3://|http(s*)://).+
vocabularyFileUri
-
The location in Amazon S3 of the text file you use to define
your custom vocabulary. The URI must be in the same AWS Region
as the resource that you're calling. Enter information about
your VocabularyFileUri
in the following format:
https://s3.<aws-region>.amazonaws.com/<bucket-name>/<keyprefix>/<objectkey>
The following is an example URI for a vocabulary file that is stored in Amazon S3:
https://s3.us-east-1.amazonaws.com/AWSDOC-EXAMPLE-BUCKET/vocab.txt
For more information about Amazon S3 object names, see Object Keys in the Amazon S3 Developer Guide.
For more information about custom vocabularies, see Medical Custom Vocabularies.
public CreateMedicalVocabularyRequest withVocabularyFileUri(java.lang.String vocabularyFileUri)
The location in Amazon S3 of the text file you use to define your custom
vocabulary. The URI must be in the same AWS Region as the resource that
you're calling. Enter information about your
VocabularyFileUri
in the following format:
https://s3.<aws-region>.amazonaws.com/<bucket-name>/<keyprefix>/<objectkey>
The following is an example URI for a vocabulary file that is stored in Amazon S3:
https://s3.us-east-1.amazonaws.com/AWSDOC-EXAMPLE-BUCKET/vocab.txt
For more information about Amazon S3 object names, see Object Keys in the Amazon S3 Developer Guide.
For more information about custom vocabularies, see Medical Custom Vocabularies.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 2000
Pattern: (s3://|http(s*)://).+
vocabularyFileUri
-
The location in Amazon S3 of the text file you use to define
your custom vocabulary. The URI must be in the same AWS Region
as the resource that you're calling. Enter information about
your VocabularyFileUri
in the following format:
https://s3.<aws-region>.amazonaws.com/<bucket-name>/<keyprefix>/<objectkey>
The following is an example URI for a vocabulary file that is stored in Amazon S3:
https://s3.us-east-1.amazonaws.com/AWSDOC-EXAMPLE-BUCKET/vocab.txt
For more information about Amazon S3 object names, see Object Keys in the Amazon S3 Developer Guide.
For more information about custom vocabularies, see Medical Custom Vocabularies.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.