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.
LanguageCode
public 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.
LanguageCode
public 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.
LanguageCode
public 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.
LanguageCode
public 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.
LanguageCode
public 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.
VocabularyState
public 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.
VocabularyState
public 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.
VocabularyState
public 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.
VocabularyState
public 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.
VocabularyState
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.