@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateVocabularyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
CreateVocabularyResult() |
| Modifier and Type | Method and Description |
|---|---|
CreateVocabularyResult |
clone() |
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(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.
|
String |
toString()
Returns a string representation of this object.
|
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.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setVocabularyName(String vocabularyName)
The name of the vocabulary.
vocabularyName - The name of the vocabulary.public String getVocabularyName()
The name of the vocabulary.
public CreateVocabularyResult withVocabularyName(String vocabularyName)
The name of the vocabulary.
vocabularyName - The name of the vocabulary.public void setLanguageCode(String languageCode)
The language code of the vocabulary entries.
languageCode - The language code of the vocabulary entries.LanguageCodepublic String getLanguageCode()
The language code of the vocabulary entries.
LanguageCodepublic CreateVocabularyResult withLanguageCode(String languageCode)
The language code of the vocabulary entries.
languageCode - The language code of the vocabulary entries.LanguageCodepublic CreateVocabularyResult withLanguageCode(LanguageCode languageCode)
The language code of the vocabulary entries.
languageCode - The language code of the vocabulary entries.LanguageCodepublic 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.
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 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.
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.
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.
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 setLastModifiedTime(Date lastModifiedTime)
The date and time that the vocabulary was created.
lastModifiedTime - The date and time that the vocabulary was created.public Date getLastModifiedTime()
The date and time that the vocabulary was created.
public CreateVocabularyResult withLastModifiedTime(Date lastModifiedTime)
The date and time that the vocabulary was created.
lastModifiedTime - The date and time that the vocabulary was created.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 String getFailureReason()
If the VocabularyState field is FAILED, this field contains information about why the
job failed.
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.
failureReason - If the VocabularyState field is FAILED, this field contains information about
why the job failed.public String toString()
toString in class ObjectObject.toString()public CreateVocabularyResult clone()
Copyright © 2020. All rights reserved.