@Generated(value="software.amazon.awssdk:codegen") public final class VocabularySummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<VocabularySummary.Builder,VocabularySummary>
Contains summary information about the custom vocabulary.
| Modifier and Type | Class and Description |
|---|---|
static interface |
VocabularySummary.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The Amazon Resource Name (ARN) of the custom vocabulary.
|
static VocabularySummary.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
failureReason()
The reason why the custom vocabulary was not created.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The identifier of the custom vocabulary.
|
VocabularyLanguageCode |
languageCode()
The language code of the vocabulary entries.
|
String |
languageCodeAsString()
The language code of the vocabulary entries.
|
Instant |
lastModifiedTime()
The timestamp when the custom vocabulary was last modified.
|
String |
name()
A unique name of the custom vocabulary.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends VocabularySummary.Builder> |
serializableBuilderClass() |
VocabularyState |
state()
The current state of the custom vocabulary.
|
String |
stateAsString()
The current state of the custom vocabulary.
|
VocabularySummary.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
A unique name of the custom vocabulary.
public final String id()
The identifier of the custom vocabulary.
public final String arn()
The Amazon Resource Name (ARN) of the custom vocabulary.
public final VocabularyLanguageCode languageCode()
The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see What is Amazon Transcribe?
If the service returns an enum value that is not available in the current SDK version, languageCode will
return VocabularyLanguageCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from languageCodeAsString().
VocabularyLanguageCodepublic final String languageCodeAsString()
The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see What is Amazon Transcribe?
If the service returns an enum value that is not available in the current SDK version, languageCode will
return VocabularyLanguageCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from languageCodeAsString().
VocabularyLanguageCodepublic final VocabularyState state()
The current state of the custom vocabulary.
If the service returns an enum value that is not available in the current SDK version, state will return
VocabularyState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
VocabularyStatepublic final String stateAsString()
The current state of the custom vocabulary.
If the service returns an enum value that is not available in the current SDK version, state will return
VocabularyState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
VocabularyStatepublic final Instant lastModifiedTime()
The timestamp when the custom vocabulary was last modified.
public final String failureReason()
The reason why the custom vocabulary was not created.
public VocabularySummary.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<VocabularySummary.Builder,VocabularySummary>public static VocabularySummary.Builder builder()
public static Class<? extends VocabularySummary.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.