@Generated(value="software.amazon.awssdk:codegen") public final class CreateVocabularyResponse extends TranscribeResponse implements ToCopyableBuilder<CreateVocabularyResponse.Builder,CreateVocabularyResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateVocabularyResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateVocabularyResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
failureReason()
If the
VocabularyState field is FAILED, this field contains information about why the
job failed. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
LanguageCode |
languageCode()
The language code of the vocabulary entries.
|
String |
languageCodeAsString()
The language code of the vocabulary entries.
|
Instant |
lastModifiedTime()
The date and time that the vocabulary was created.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateVocabularyResponse.Builder> |
serializableBuilderClass() |
CreateVocabularyResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
vocabularyName()
The name of the vocabulary.
|
VocabularyState |
vocabularyState()
The processing state of the vocabulary.
|
String |
vocabularyStateAsString()
The processing state of the vocabulary.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String vocabularyName()
The name of the vocabulary.
public final LanguageCode languageCode()
The language code of the vocabulary entries.
If the service returns an enum value that is not available in the current SDK version, languageCode will
return LanguageCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
languageCodeAsString().
LanguageCodepublic final String languageCodeAsString()
The language code of the vocabulary entries.
If the service returns an enum value that is not available in the current SDK version, languageCode will
return LanguageCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
languageCodeAsString().
LanguageCodepublic final 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.
If the service returns an enum value that is not available in the current SDK version, vocabularyState
will return VocabularyState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from vocabularyStateAsString().
VocabularyState field contains
READY the vocabulary is ready to be used in a StartTranscriptionJob request.VocabularyStatepublic final String vocabularyStateAsString()
The processing state of the vocabulary. When the VocabularyState field contains READY
the vocabulary is ready to be used in a StartTranscriptionJob request.
If the service returns an enum value that is not available in the current SDK version, vocabularyState
will return VocabularyState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from vocabularyStateAsString().
VocabularyState field contains
READY the vocabulary is ready to be used in a StartTranscriptionJob request.VocabularyStatepublic final Instant lastModifiedTime()
The date and time that the vocabulary was created.
public final String failureReason()
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 CreateVocabularyResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateVocabularyResponse.Builder,CreateVocabularyResponse>toBuilder in class AwsResponsepublic static CreateVocabularyResponse.Builder builder()
public static Class<? extends CreateVocabularyResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2021. All rights reserved.