public class CreateVocabularyResult extends Object implements Serializable
| Constructor and Description |
|---|
CreateVocabularyResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getFailureReason()
If the
VocabularyState field is FAILED, this
field contains information about why the job failed. |
String |
getLanguageCode()
The language code of the vocabulary entries.
|
Date |
getLastModifiedTime()
The date and time that the vocabulary was created.
|
String |
getVocabularyName()
The name of the vocabulary.
|
String |
getVocabularyState()
The processing state of the vocabulary.
|
int |
hashCode() |
void |
setFailureReason(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(String languageCode)
The language code of the vocabulary entries.
|
void |
setLastModifiedTime(Date lastModifiedTime)
The date and time that the vocabulary was created.
|
void |
setVocabularyName(String vocabularyName)
The name of the vocabulary.
|
void |
setVocabularyState(String vocabularyState)
The processing state of the vocabulary.
|
void |
setVocabularyState(VocabularyState vocabularyState)
The processing state of the vocabulary.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateVocabularyResult |
withFailureReason(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(String languageCode)
The language code of the vocabulary entries.
|
CreateVocabularyResult |
withLastModifiedTime(Date lastModifiedTime)
The date and time that the vocabulary was created.
|
CreateVocabularyResult |
withVocabularyName(String vocabularyName)
The name of the vocabulary.
|
CreateVocabularyResult |
withVocabularyState(String vocabularyState)
The processing state of the vocabulary.
|
CreateVocabularyResult |
withVocabularyState(VocabularyState vocabularyState)
The processing state of the vocabulary.
|
public String getVocabularyName()
The name of the vocabulary.
Constraints:
Length: 1 - 200
Pattern: ^[0-9a-zA-Z._-]+
The name of the vocabulary.
public void setVocabularyName(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(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 String getLanguageCode()
The language code of the vocabulary entries.
Constraints:
Allowed Values: en-US, es-US, en-AU, fr-CA, en-GB, de-DE, pt-BR,
fr-FR, it-IT, ko-KR
The language code of the vocabulary entries.
LanguageCodepublic void setLanguageCode(String languageCode)
The language code of the vocabulary entries.
Constraints:
Allowed Values: en-US, es-US, en-AU, fr-CA, en-GB, de-DE, pt-BR,
fr-FR, it-IT, ko-KR
languageCode - The language code of the vocabulary entries.
LanguageCodepublic CreateVocabularyResult withLanguageCode(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: en-US, es-US, en-AU, fr-CA, en-GB, de-DE, pt-BR,
fr-FR, it-IT, ko-KR
languageCode - The language code of the vocabulary entries.
LanguageCodepublic void setLanguageCode(LanguageCode languageCode)
The language code of the vocabulary entries.
Constraints:
Allowed Values: en-US, es-US, en-AU, fr-CA, en-GB, de-DE, pt-BR,
fr-FR, it-IT, ko-KR
languageCode - The language code of the vocabulary entries.
LanguageCodepublic 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: en-US, es-US, en-AU, fr-CA, en-GB, de-DE, pt-BR,
fr-FR, it-IT, ko-KR
languageCode - The language code of the vocabulary entries.
LanguageCodepublic 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.
VocabularyStatepublic void setVocabularyState(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.
VocabularyStatepublic CreateVocabularyResult withVocabularyState(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.
VocabularyStatepublic 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.
VocabularyStatepublic 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.
VocabularyStatepublic Date getLastModifiedTime()
The date and time that the vocabulary was created.
The date and time that the vocabulary was created.
public void setLastModifiedTime(Date lastModifiedTime)
The date and time that the vocabulary was created.
lastModifiedTime - The date and time that the vocabulary was created.
public CreateVocabularyResult withLastModifiedTime(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 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(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(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 String toString()
toString in class ObjectObject.toString()Copyright © 2019. All rights reserved.