@Generated(value="software.amazon.awssdk:codegen") public final class LexiconAttributes extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LexiconAttributes.Builder,LexiconAttributes>
Contains metadata describing the lexicon such as the number of lexemes, language code, and so on. For more information, see Managing Lexicons.
Modifier and Type | Class and Description |
---|---|
static interface |
LexiconAttributes.Builder |
Modifier and Type | Method and Description |
---|---|
String |
alphabet()
Phonetic alphabet used in the lexicon.
|
static LexiconAttributes.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
LanguageCode |
languageCode()
Language code that the lexicon applies to.
|
String |
languageCodeAsString()
Language code that the lexicon applies to.
|
Instant |
lastModified()
Date lexicon was last modified (a timestamp value).
|
Integer |
lexemesCount()
Number of lexemes in the lexicon.
|
String |
lexiconArn()
Amazon Resource Name (ARN) of the lexicon.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends LexiconAttributes.Builder> |
serializableBuilderClass() |
Integer |
size()
Total size of the lexicon, in characters.
|
LexiconAttributes.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String alphabet()
Phonetic alphabet used in the lexicon. Valid values are ipa
and x-sampa
.
ipa
and x-sampa
.public LanguageCode languageCode()
Language code that the lexicon applies to. A lexicon with a language code such as "en" would be applied to all English languages (en-GB, en-US, en-AUS, en-WLS, and so on.
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()
Language code that the lexicon applies to. A lexicon with a language code such as "en" would be applied to all English languages (en-GB, en-US, en-AUS, en-WLS, and so on.
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 lastModified()
Date lexicon was last modified (a timestamp value).
public String lexiconArn()
Amazon Resource Name (ARN) of the lexicon.
public Integer lexemesCount()
Number of lexemes in the lexicon.
public Integer size()
Total size of the lexicon, in characters.
public LexiconAttributes.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<LexiconAttributes.Builder,LexiconAttributes>
public static LexiconAttributes.Builder builder()
public static Class<? extends LexiconAttributes.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.