@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 , FailureReason contains information
about why the job failed. |
String |
getLanguageCode()
The language code you selected for your vocabulary.
|
Date |
getLastModifiedTime()
The date and time you created your custom vocabulary.
|
String |
getVocabularyName()
The name you chose for your vocabulary.
|
String |
getVocabularyState()
The processing state of your vocabulary.
|
int |
hashCode() |
void |
setFailureReason(String failureReason)
If the
VocabularyState field is FAILED , FailureReason contains information
about why the job failed. |
void |
setLanguageCode(String languageCode)
The language code you selected for your vocabulary.
|
void |
setLastModifiedTime(Date lastModifiedTime)
The date and time you created your custom vocabulary.
|
void |
setVocabularyName(String vocabularyName)
The name you chose for your vocabulary.
|
void |
setVocabularyState(String vocabularyState)
The processing state of your vocabulary.
|
String |
toString()
Returns a string representation of this object.
|
CreateVocabularyResult |
withFailureReason(String failureReason)
If the
VocabularyState field is FAILED , FailureReason contains information
about why the job failed. |
CreateVocabularyResult |
withLanguageCode(LanguageCode languageCode)
The language code you selected for your vocabulary.
|
CreateVocabularyResult |
withLanguageCode(String languageCode)
The language code you selected for your vocabulary.
|
CreateVocabularyResult |
withLastModifiedTime(Date lastModifiedTime)
The date and time you created your custom vocabulary.
|
CreateVocabularyResult |
withVocabularyName(String vocabularyName)
The name you chose for your vocabulary.
|
CreateVocabularyResult |
withVocabularyState(String vocabularyState)
The processing state of your vocabulary.
|
CreateVocabularyResult |
withVocabularyState(VocabularyState vocabularyState)
The processing state of your vocabulary.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setVocabularyName(String vocabularyName)
The name you chose for your vocabulary.
vocabularyName
- The name you chose for your vocabulary.public String getVocabularyName()
The name you chose for your vocabulary.
public CreateVocabularyResult withVocabularyName(String vocabularyName)
The name you chose for your vocabulary.
vocabularyName
- The name you chose for your vocabulary.public void setLanguageCode(String languageCode)
The language code you selected for your vocabulary.
languageCode
- The language code you selected for your vocabulary.LanguageCode
public String getLanguageCode()
The language code you selected for your vocabulary.
LanguageCode
public CreateVocabularyResult withLanguageCode(String languageCode)
The language code you selected for your vocabulary.
languageCode
- The language code you selected for your vocabulary.LanguageCode
public CreateVocabularyResult withLanguageCode(LanguageCode languageCode)
The language code you selected for your vocabulary.
languageCode
- The language code you selected for your vocabulary.LanguageCode
public void setVocabularyState(String vocabularyState)
The processing state of your vocabulary. If the state is READY
, you can use the vocabulary in a
StartTranscriptionJob
request.
vocabularyState
- The processing state of your vocabulary. If the state is READY
, you can use the vocabulary in
a StartTranscriptionJob
request.VocabularyState
public String getVocabularyState()
The processing state of your vocabulary. If the state is READY
, you can use the vocabulary in a
StartTranscriptionJob
request.
READY
, you can use the vocabulary
in a StartTranscriptionJob
request.VocabularyState
public CreateVocabularyResult withVocabularyState(String vocabularyState)
The processing state of your vocabulary. If the state is READY
, you can use the vocabulary in a
StartTranscriptionJob
request.
vocabularyState
- The processing state of your vocabulary. If the state is READY
, you can use the vocabulary in
a StartTranscriptionJob
request.VocabularyState
public CreateVocabularyResult withVocabularyState(VocabularyState vocabularyState)
The processing state of your vocabulary. If the state is READY
, you can use the vocabulary in a
StartTranscriptionJob
request.
vocabularyState
- The processing state of your vocabulary. If the state is READY
, you can use the vocabulary in
a StartTranscriptionJob
request.VocabularyState
public void setLastModifiedTime(Date lastModifiedTime)
The date and time you created your custom vocabulary.
lastModifiedTime
- The date and time you created your custom vocabulary.public Date getLastModifiedTime()
The date and time you created your custom vocabulary.
public CreateVocabularyResult withLastModifiedTime(Date lastModifiedTime)
The date and time you created your custom vocabulary.
lastModifiedTime
- The date and time you created your custom vocabulary.public void setFailureReason(String failureReason)
If the VocabularyState
field is FAILED
, FailureReason
contains information
about why the job failed.
failureReason
- If the VocabularyState
field is FAILED
, FailureReason
contains
information about why the job failed.public String getFailureReason()
If the VocabularyState
field is FAILED
, FailureReason
contains information
about why the job failed.
VocabularyState
field is FAILED
, FailureReason
contains
information about why the job failed.public CreateVocabularyResult withFailureReason(String failureReason)
If the VocabularyState
field is FAILED
, FailureReason
contains information
about why the job failed.
failureReason
- If the VocabularyState
field is FAILED
, FailureReason
contains
information about why the job failed.public String toString()
toString
in class Object
Object.toString()
public CreateVocabularyResult clone()