@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, setSdkResponseMetadata
public 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.LanguageCode
public String getLanguageCode()
The language code of the vocabulary entries.
LanguageCode
public CreateVocabularyResult withLanguageCode(String languageCode)
The language code of the vocabulary entries.
languageCode
- The language code of the vocabulary entries.LanguageCode
public CreateVocabularyResult withLanguageCode(LanguageCode languageCode)
The language code of the vocabulary entries.
languageCode
- The language code of the vocabulary entries.LanguageCode
public 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.VocabularyState
public 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.VocabularyState
public 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.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.
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 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 Object
Object.toString()
public CreateVocabularyResult clone()