public class VocabularyInfo
extends java.lang.Object
implements java.io.Serializable
Provides information about a custom vocabulary.
| Constructor and Description |
|---|
VocabularyInfo() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getLanguageCode()
The language code of the vocabulary entries.
|
java.util.Date |
getLastModifiedTime()
The date and time that the vocabulary was last modified.
|
java.lang.String |
getVocabularyName()
The name of the vocabulary.
|
java.lang.String |
getVocabularyState()
The processing state of the vocabulary.
|
int |
hashCode() |
void |
setLanguageCode(LanguageCode languageCode)
The language code of the vocabulary entries.
|
void |
setLanguageCode(java.lang.String languageCode)
The language code of the vocabulary entries.
|
void |
setLastModifiedTime(java.util.Date lastModifiedTime)
The date and time that the vocabulary was last modified.
|
void |
setVocabularyName(java.lang.String vocabularyName)
The name of the vocabulary.
|
void |
setVocabularyState(java.lang.String vocabularyState)
The processing state of the vocabulary.
|
void |
setVocabularyState(VocabularyState vocabularyState)
The processing state of the vocabulary.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
VocabularyInfo |
withLanguageCode(LanguageCode languageCode)
The language code of the vocabulary entries.
|
VocabularyInfo |
withLanguageCode(java.lang.String languageCode)
The language code of the vocabulary entries.
|
VocabularyInfo |
withLastModifiedTime(java.util.Date lastModifiedTime)
The date and time that the vocabulary was last modified.
|
VocabularyInfo |
withVocabularyName(java.lang.String vocabularyName)
The name of the vocabulary.
|
VocabularyInfo |
withVocabularyState(java.lang.String vocabularyState)
The processing state of the vocabulary.
|
VocabularyInfo |
withVocabularyState(VocabularyState vocabularyState)
The processing state of the vocabulary.
|
public java.lang.String getVocabularyName()
The name of the vocabulary.
Constraints:
Length: 1 - 200
Pattern: ^[0-9a-zA-Z._-]+
The name of the vocabulary.
public void setVocabularyName(java.lang.String vocabularyName)
The name of the vocabulary.
Constraints:
Length: 1 - 200
Pattern: ^[0-9a-zA-Z._-]+
vocabularyName - The name of the vocabulary.
public VocabularyInfo withVocabularyName(java.lang.String vocabularyName)
The name of the vocabulary.
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 vocabulary.
public java.lang.String getLanguageCode()
The language code of the vocabulary entries.
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 of the vocabulary entries.
LanguageCodepublic void setLanguageCode(java.lang.String languageCode)
The language code of the vocabulary entries.
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 of the vocabulary entries.
LanguageCodepublic VocabularyInfo withLanguageCode(java.lang.String languageCode)
The language code of the vocabulary entries.
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 of the vocabulary entries.
LanguageCodepublic void setLanguageCode(LanguageCode languageCode)
The language code of the vocabulary entries.
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 of the vocabulary entries.
LanguageCodepublic VocabularyInfo withLanguageCode(LanguageCode languageCode)
The language code of the vocabulary entries.
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 of the vocabulary entries.
LanguageCodepublic java.util.Date getLastModifiedTime()
The date and time that the vocabulary was last modified.
The date and time that the vocabulary was last modified.
public void setLastModifiedTime(java.util.Date lastModifiedTime)
The date and time that the vocabulary was last modified.
lastModifiedTime - The date and time that the vocabulary was last modified.
public VocabularyInfo withLastModifiedTime(java.util.Date lastModifiedTime)
The date and time that the vocabulary was last modified.
Returns a reference to this object so that method calls can be chained together.
lastModifiedTime - The date and time that the vocabulary was last modified.
public java.lang.String getVocabularyState()
The processing state of the vocabulary. If the state is
READY you can use the vocabulary in a
StartTranscriptionJob request.
Constraints:
Allowed Values: PENDING, READY, FAILED
The processing state of the vocabulary. If the state is
READY you can use the vocabulary in a
StartTranscriptionJob request.
VocabularyStatepublic void setVocabularyState(java.lang.String vocabularyState)
The processing state of the vocabulary. If the state is
READY you can use the vocabulary in a
StartTranscriptionJob request.
Constraints:
Allowed Values: PENDING, READY, FAILED
vocabularyState -
The processing state of the vocabulary. If the state is
READY you can use the vocabulary in a
StartTranscriptionJob request.
VocabularyStatepublic VocabularyInfo withVocabularyState(java.lang.String vocabularyState)
The processing state of the vocabulary. If the state is
READY you can use the vocabulary in a
StartTranscriptionJob request.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: PENDING, READY, FAILED
vocabularyState -
The processing state of the vocabulary. If the state is
READY you can use the vocabulary in a
StartTranscriptionJob request.
VocabularyStatepublic void setVocabularyState(VocabularyState vocabularyState)
The processing state of the vocabulary. If the state is
READY you can use the vocabulary in a
StartTranscriptionJob request.
Constraints:
Allowed Values: PENDING, READY, FAILED
vocabularyState -
The processing state of the vocabulary. If the state is
READY you can use the vocabulary in a
StartTranscriptionJob request.
VocabularyStatepublic VocabularyInfo withVocabularyState(VocabularyState vocabularyState)
The processing state of the vocabulary. If the state is
READY you can use the vocabulary in a
StartTranscriptionJob request.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: PENDING, READY, FAILED
vocabularyState -
The processing state of the vocabulary. If the state is
READY you can use the vocabulary in a
StartTranscriptionJob request.
VocabularyStatepublic java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.