@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
VocabularyState is FAILED, FailureReason contains information about why
the custom vocabulary request failed. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
LanguageCode |
languageCode()
The language code you selected for your custom vocabulary.
|
String |
languageCodeAsString()
The language code you selected for your custom vocabulary.
|
Instant |
lastModifiedTime()
The date and time you created your custom vocabulary.
|
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 you chose for your custom vocabulary.
|
VocabularyState |
vocabularyState()
The processing state of your custom vocabulary.
|
String |
vocabularyStateAsString()
The processing state of your custom vocabulary.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String vocabularyName()
The name you chose for your custom vocabulary.
public final LanguageCode languageCode()
The language code you selected for your custom vocabulary.
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 you selected for your custom vocabulary.
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 your custom vocabulary. If the state is READY, you can use the custom
vocabulary 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().
READY, you can use the
custom vocabulary in a StartTranscriptionJob request.VocabularyStatepublic final String vocabularyStateAsString()
The processing state of your custom vocabulary. If the state is READY, you can use the custom
vocabulary 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().
READY, you can use the
custom vocabulary in a StartTranscriptionJob request.VocabularyStatepublic final Instant 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.
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 final String failureReason()
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 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 © 2023. All rights reserved.