public class CreateVocabularyResult
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
CreateVocabularyResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getFailureReason()
If the
VocabularyState field is FAILED , this
field contains information about why the job failed. |
java.lang.String |
getLanguageCode()
The language code of the vocabulary entries.
|
java.util.Date |
getLastModifiedTime()
The date and time that the vocabulary was created.
|
java.lang.String |
getVocabularyName()
The name of the vocabulary.
|
java.lang.String |
getVocabularyState()
The processing state of the vocabulary.
|
int |
hashCode() |
void |
setFailureReason(java.lang.String failureReason)
If the
VocabularyState field is FAILED , this
field contains information about why the job failed. |
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 created.
|
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.
|
CreateVocabularyResult |
withFailureReason(java.lang.String failureReason)
If the
VocabularyState field is FAILED , this
field contains information about why the job failed. |
CreateVocabularyResult |
withLanguageCode(LanguageCode languageCode)
The language code of the vocabulary entries.
|
CreateVocabularyResult |
withLanguageCode(java.lang.String languageCode)
The language code of the vocabulary entries.
|
CreateVocabularyResult |
withLastModifiedTime(java.util.Date lastModifiedTime)
The date and time that the vocabulary was created.
|
CreateVocabularyResult |
withVocabularyName(java.lang.String vocabularyName)
The name of the vocabulary.
|
CreateVocabularyResult |
withVocabularyState(java.lang.String vocabularyState)
The processing state of the vocabulary.
|
CreateVocabularyResult |
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 CreateVocabularyResult 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 CreateVocabularyResult 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 CreateVocabularyResult 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.lang.String getVocabularyState()
The processing state of the vocabulary. When the
VocabularyState
field contains READY
the
vocabulary is ready to be used in a StartTranscriptionJob
request.
Constraints:
Allowed Values: PENDING, READY, FAILED
The processing state of the vocabulary. When the
VocabularyState
field contains READY
the vocabulary is ready to be used in a
StartTranscriptionJob
request.
VocabularyState
public void setVocabularyState(java.lang.String vocabularyState)
The processing state of the vocabulary. When the
VocabularyState
field contains READY
the
vocabulary is ready to be used in a StartTranscriptionJob
request.
Constraints:
Allowed Values: PENDING, READY, FAILED
vocabularyState
-
The processing state of the vocabulary. When the
VocabularyState
field contains READY
the vocabulary is ready to be used in a
StartTranscriptionJob
request.
VocabularyState
public CreateVocabularyResult withVocabularyState(java.lang.String vocabularyState)
The processing state of the vocabulary. When the
VocabularyState
field contains READY
the
vocabulary is ready to be used 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. When the
VocabularyState
field contains READY
the vocabulary is ready to be used in a
StartTranscriptionJob
request.
VocabularyState
public void setVocabularyState(VocabularyState vocabularyState)
The processing state of the vocabulary. When the
VocabularyState
field contains READY
the
vocabulary is ready to be used in a StartTranscriptionJob
request.
Constraints:
Allowed Values: PENDING, READY, FAILED
vocabularyState
-
The processing state of the vocabulary. When the
VocabularyState
field contains READY
the vocabulary is ready to be used in a
StartTranscriptionJob
request.
VocabularyState
public CreateVocabularyResult withVocabularyState(VocabularyState vocabularyState)
The processing state of the vocabulary. When the
VocabularyState
field contains READY
the
vocabulary is ready to be used 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. When the
VocabularyState
field contains READY
the vocabulary is ready to be used in a
StartTranscriptionJob
request.
VocabularyState
public java.util.Date getLastModifiedTime()
The date and time that the vocabulary was created.
The date and time that the vocabulary was created.
public void setLastModifiedTime(java.util.Date lastModifiedTime)
The date and time that the vocabulary was created.
lastModifiedTime
- The date and time that the vocabulary was created.
public CreateVocabularyResult withLastModifiedTime(java.util.Date lastModifiedTime)
The date and time that the vocabulary was created.
Returns a reference to this object so that method calls can be chained together.
lastModifiedTime
- The date and time that the vocabulary was created.
public java.lang.String getFailureReason()
If the VocabularyState
field is FAILED
, this
field contains information about why the job failed.
If the VocabularyState
field is FAILED
,
this field contains information about why the job failed.
public void setFailureReason(java.lang.String failureReason)
If the VocabularyState
field is FAILED
, this
field contains information about why the job failed.
failureReason
-
If the VocabularyState
field is
FAILED
, this field contains information about why
the job failed.
public CreateVocabularyResult withFailureReason(java.lang.String failureReason)
If the VocabularyState
field is FAILED
, this
field contains information about why the job failed.
Returns a reference to this object so that method calls can be chained together.
failureReason
-
If the VocabularyState
field is
FAILED
, this field contains information about why
the job failed.
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.