StructuredPojo
, ToCopyableBuilder<LexiconAttributes.Builder,LexiconAttributes>
@Generated("software.amazon.awssdk:codegen") public class LexiconAttributes extends Object implements StructuredPojo, 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 | Description |
---|---|---|
static interface |
LexiconAttributes.Builder |
Modifier and Type | Method | Description |
---|---|---|
String |
alphabet() |
Phonetic alphabet used in the lexicon.
|
static LexiconAttributes.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
String |
languageCode() |
Language code that the lexicon applies to.
|
Date |
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.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
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() |
public String alphabet()
Phonetic alphabet used in the lexicon. Valid values are ipa
and x-sampa
.
ipa
and x-sampa
.public String 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.
LanguageCode
public Date 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()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.