@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
VocabularyState is FAILED , FailureReason contains information about why
the custom vocabulary request failed. |
String |
getLanguageCode()
The language code you selected for your custom vocabulary.
|
Date |
getLastModifiedTime()
The date and time you created your custom vocabulary.
|
String |
getVocabularyName()
The name you chose for your custom vocabulary.
|
String |
getVocabularyState()
The processing state of your custom vocabulary.
|
int |
hashCode() |
void |
setFailureReason(String failureReason)
If
VocabularyState is FAILED , FailureReason contains information about why
the custom vocabulary request failed. |
void |
setLanguageCode(String languageCode)
The language code you selected for your custom vocabulary.
|
void |
setLastModifiedTime(Date lastModifiedTime)
The date and time you created your custom vocabulary.
|
void |
setVocabularyName(String vocabularyName)
The name you chose for your custom vocabulary.
|
void |
setVocabularyState(String vocabularyState)
The processing state of your custom vocabulary.
|
String |
toString()
Returns a string representation of this object.
|
CreateVocabularyResult |
withFailureReason(String failureReason)
If
VocabularyState is FAILED , FailureReason contains information about why
the custom vocabulary request failed. |
CreateVocabularyResult |
withLanguageCode(LanguageCode languageCode)
The language code you selected for your custom vocabulary.
|
CreateVocabularyResult |
withLanguageCode(String languageCode)
The language code you selected for your custom vocabulary.
|
CreateVocabularyResult |
withLastModifiedTime(Date lastModifiedTime)
The date and time you created your custom vocabulary.
|
CreateVocabularyResult |
withVocabularyName(String vocabularyName)
The name you chose for your custom vocabulary.
|
CreateVocabularyResult |
withVocabularyState(String vocabularyState)
The processing state of your custom vocabulary.
|
CreateVocabularyResult |
withVocabularyState(VocabularyState vocabularyState)
The processing state of your custom vocabulary.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setVocabularyName(String vocabularyName)
The name you chose for your custom vocabulary.
vocabularyName
- The name you chose for your custom vocabulary.public String getVocabularyName()
The name you chose for your custom vocabulary.
public CreateVocabularyResult withVocabularyName(String vocabularyName)
The name you chose for your custom vocabulary.
vocabularyName
- The name you chose for your custom vocabulary.public void setLanguageCode(String languageCode)
The language code you selected for your custom vocabulary.
languageCode
- The language code you selected for your custom vocabulary.LanguageCode
public String getLanguageCode()
The language code you selected for your custom vocabulary.
LanguageCode
public CreateVocabularyResult withLanguageCode(String languageCode)
The language code you selected for your custom vocabulary.
languageCode
- The language code you selected for your custom vocabulary.LanguageCode
public CreateVocabularyResult withLanguageCode(LanguageCode languageCode)
The language code you selected for your custom vocabulary.
languageCode
- The language code you selected for your custom vocabulary.LanguageCode
public void setVocabularyState(String vocabularyState)
The processing state of your custom vocabulary. If the state is READY
, you can use the custom
vocabulary in a StartTranscriptionJob
request.
vocabularyState
- The processing state of your custom vocabulary. If the state is READY
, you can use the custom
vocabulary in a StartTranscriptionJob
request.VocabularyState
public String getVocabularyState()
The processing state of your custom vocabulary. If the state is READY
, you can use the custom
vocabulary in a StartTranscriptionJob
request.
READY
, you can use the
custom vocabulary in a StartTranscriptionJob
request.VocabularyState
public CreateVocabularyResult withVocabularyState(String vocabularyState)
The processing state of your custom vocabulary. If the state is READY
, you can use the custom
vocabulary in a StartTranscriptionJob
request.
vocabularyState
- The processing state of your custom vocabulary. If the state is READY
, you can use the custom
vocabulary in a StartTranscriptionJob
request.VocabularyState
public CreateVocabularyResult withVocabularyState(VocabularyState vocabularyState)
The processing state of your custom vocabulary. If the state is READY
, you can use the custom
vocabulary in a StartTranscriptionJob
request.
vocabularyState
- The processing state of your custom vocabulary. If the state is READY
, you can use the custom
vocabulary in a StartTranscriptionJob
request.VocabularyState
public void setLastModifiedTime(Date lastModifiedTime)
The date and time you created your custom vocabulary.
Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC
. For example,
2022-05-04T12:32:58.761000-07:00
represents 12:32 PM UTC-7 on May 4, 2022.
lastModifiedTime
- The date and time you created your custom vocabulary.
Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC
. For example,
2022-05-04T12:32:58.761000-07:00
represents 12:32 PM UTC-7 on May 4, 2022.
public Date getLastModifiedTime()
The date and time you created your custom vocabulary.
Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC
. For example,
2022-05-04T12:32:58.761000-07:00
represents 12:32 PM UTC-7 on May 4, 2022.
Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC
. For example,
2022-05-04T12:32:58.761000-07:00
represents 12:32 PM UTC-7 on May 4, 2022.
public CreateVocabularyResult withLastModifiedTime(Date lastModifiedTime)
The date and time you created your custom vocabulary.
Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC
. For example,
2022-05-04T12:32:58.761000-07:00
represents 12:32 PM UTC-7 on May 4, 2022.
lastModifiedTime
- The date and time you created your custom vocabulary.
Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC
. For example,
2022-05-04T12:32:58.761000-07:00
represents 12:32 PM UTC-7 on May 4, 2022.
public void setFailureReason(String failureReason)
If VocabularyState
is FAILED
, FailureReason
contains information about why
the custom vocabulary request failed. See also: Common Errors.
failureReason
- If VocabularyState
is FAILED
, FailureReason
contains information
about why the custom vocabulary request failed. See also: Common Errors.public String getFailureReason()
If VocabularyState
is FAILED
, FailureReason
contains information about why
the custom vocabulary request failed. See also: Common Errors.
VocabularyState
is FAILED
, FailureReason
contains information
about why the custom vocabulary request failed. See also: Common Errors.public CreateVocabularyResult withFailureReason(String failureReason)
If VocabularyState
is FAILED
, FailureReason
contains information about why
the custom vocabulary request failed. See also: Common Errors.
failureReason
- If VocabularyState
is FAILED
, FailureReason
contains information
about why the custom vocabulary request failed. See also: Common Errors.public String toString()
toString
in class Object
Object.toString()
public CreateVocabularyResult clone()