@Generated(value="software.amazon.awssdk:codegen") public final class VocabularyInfo extends Object implements SdkPojo, Serializable, ToCopyableBuilder<VocabularyInfo.Builder,VocabularyInfo>
Provides information about a custom vocabulary. Note that vocabularies for en-AU, en-UK, and fr-CA languages that are in preview are not available. In the console, the vocabulary section will be greyed-out and SDK will return error message.
Modifier and Type | Class and Description |
---|---|
static interface |
VocabularyInfo.Builder |
Modifier and Type | Method and Description |
---|---|
static VocabularyInfo.Builder |
builder() |
boolean |
equals(Object obj) |
<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 last modified.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends VocabularyInfo.Builder> |
serializableBuilderClass() |
VocabularyInfo.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
vocabularyName()
The name of the vocabulary.
|
VocabularyState |
vocabularyState()
The processing state of the vocabulary.
|
String |
vocabularyStateAsString()
The processing state of the vocabulary.
|
copy
public String vocabularyName()
The name of the vocabulary.
public 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()
.
LanguageCode
public 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()
.
LanguageCode
public Instant lastModifiedTime()
The date and time that the vocabulary was last modified.
public VocabularyState vocabularyState()
The processing state of the vocabulary. If the state is READY
you can use the 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 vocabulary in
a StartTranscriptionJob
request.VocabularyState
public String vocabularyStateAsString()
The processing state of the vocabulary. If the state is READY
you can use the 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 vocabulary in
a StartTranscriptionJob
request.VocabularyState
public VocabularyInfo.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<VocabularyInfo.Builder,VocabularyInfo>
public static VocabularyInfo.Builder builder()
public static Class<? extends VocabularyInfo.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.