@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LexiconAttributes extends Object implements Serializable, Cloneable, StructuredPojo
Contains metadata describing the lexicon such as the number of lexemes, language code, and so on. For more information, see Managing Lexicons.
Constructor and Description |
---|
LexiconAttributes() |
Modifier and Type | Method and Description |
---|---|
LexiconAttributes |
clone() |
boolean |
equals(Object obj) |
String |
getAlphabet()
Phonetic alphabet used in the lexicon.
|
String |
getLanguageCode()
Language code that the lexicon applies to.
|
Date |
getLastModified()
Date lexicon was last modified (a timestamp value).
|
Integer |
getLexemesCount()
Number of lexemes in the lexicon.
|
String |
getLexiconArn()
Amazon Resource Name (ARN) of the lexicon.
|
Integer |
getSize()
Total size of the lexicon, in characters.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAlphabet(String alphabet)
Phonetic alphabet used in the lexicon.
|
void |
setLanguageCode(LanguageCode languageCode)
Language code that the lexicon applies to.
|
void |
setLanguageCode(String languageCode)
Language code that the lexicon applies to.
|
void |
setLastModified(Date lastModified)
Date lexicon was last modified (a timestamp value).
|
void |
setLexemesCount(Integer lexemesCount)
Number of lexemes in the lexicon.
|
void |
setLexiconArn(String lexiconArn)
Amazon Resource Name (ARN) of the lexicon.
|
void |
setSize(Integer size)
Total size of the lexicon, in characters.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
LexiconAttributes |
withAlphabet(String alphabet)
Phonetic alphabet used in the lexicon.
|
LexiconAttributes |
withLanguageCode(LanguageCode languageCode)
Language code that the lexicon applies to.
|
LexiconAttributes |
withLanguageCode(String languageCode)
Language code that the lexicon applies to.
|
LexiconAttributes |
withLastModified(Date lastModified)
Date lexicon was last modified (a timestamp value).
|
LexiconAttributes |
withLexemesCount(Integer lexemesCount)
Number of lexemes in the lexicon.
|
LexiconAttributes |
withLexiconArn(String lexiconArn)
Amazon Resource Name (ARN) of the lexicon.
|
LexiconAttributes |
withSize(Integer size)
Total size of the lexicon, in characters.
|
public void setAlphabet(String alphabet)
Phonetic alphabet used in the lexicon. Valid values are ipa
and x-sampa
.
alphabet
- Phonetic alphabet used in the lexicon. Valid values are ipa
and x-sampa
.public String getAlphabet()
Phonetic alphabet used in the lexicon. Valid values are ipa
and x-sampa
.
ipa
and x-sampa
.public LexiconAttributes withAlphabet(String alphabet)
Phonetic alphabet used in the lexicon. Valid values are ipa
and x-sampa
.
alphabet
- Phonetic alphabet used in the lexicon. Valid values are ipa
and x-sampa
.public void setLanguageCode(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
- 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 String getLanguageCode()
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 LexiconAttributes withLanguageCode(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
- 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 void setLanguageCode(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.
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 LexiconAttributes withLanguageCode(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.
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 void setLastModified(Date lastModified)
Date lexicon was last modified (a timestamp value).
lastModified
- Date lexicon was last modified (a timestamp value).public Date getLastModified()
Date lexicon was last modified (a timestamp value).
public LexiconAttributes withLastModified(Date lastModified)
Date lexicon was last modified (a timestamp value).
lastModified
- Date lexicon was last modified (a timestamp value).public void setLexiconArn(String lexiconArn)
Amazon Resource Name (ARN) of the lexicon.
lexiconArn
- Amazon Resource Name (ARN) of the lexicon.public String getLexiconArn()
Amazon Resource Name (ARN) of the lexicon.
public LexiconAttributes withLexiconArn(String lexiconArn)
Amazon Resource Name (ARN) of the lexicon.
lexiconArn
- Amazon Resource Name (ARN) of the lexicon.public void setLexemesCount(Integer lexemesCount)
Number of lexemes in the lexicon.
lexemesCount
- Number of lexemes in the lexicon.public Integer getLexemesCount()
Number of lexemes in the lexicon.
public LexiconAttributes withLexemesCount(Integer lexemesCount)
Number of lexemes in the lexicon.
lexemesCount
- Number of lexemes in the lexicon.public void setSize(Integer size)
Total size of the lexicon, in characters.
size
- Total size of the lexicon, in characters.public Integer getSize()
Total size of the lexicon, in characters.
public LexiconAttributes withSize(Integer size)
Total size of the lexicon, in characters.
size
- Total size of the lexicon, in characters.public String toString()
toString
in class Object
Object.toString()
public LexiconAttributes clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.