Class LexiconAttributes
- All Implemented Interfaces:
Serializable,SdkPojo,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.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal Stringalphabet()Phonetic alphabet used in the lexicon.static LexiconAttributes.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final LanguageCodeLanguage code that the lexicon applies to.final StringLanguage code that the lexicon applies to.final InstantDate lexicon was last modified (a timestamp value).final IntegerNumber of lexemes in the lexicon.final StringAmazon Resource Name (ARN) of the lexicon.static Class<? extends LexiconAttributes.Builder> final Integersize()Total size of the lexicon, in characters.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
alphabet
Phonetic alphabet used in the lexicon. Valid values are
ipaandx-sampa.- Returns:
- Phonetic alphabet used in the lexicon. Valid values are
ipaandx-sampa.
-
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,
languageCodewill returnLanguageCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlanguageCodeAsString().- Returns:
- 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.
- See Also:
-
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,
languageCodewill returnLanguageCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlanguageCodeAsString().- Returns:
- 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.
- See Also:
-
lastModified
Date lexicon was last modified (a timestamp value).
- Returns:
- Date lexicon was last modified (a timestamp value).
-
lexiconArn
Amazon Resource Name (ARN) of the lexicon.
- Returns:
- Amazon Resource Name (ARN) of the lexicon.
-
lexemesCount
Number of lexemes in the lexicon.
- Returns:
- Number of lexemes in the lexicon.
-
size
Total size of the lexicon, in characters.
- Returns:
- Total size of the lexicon, in characters.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<LexiconAttributes.Builder,LexiconAttributes> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-