public class LexiconDescription
extends java.lang.Object
implements java.io.Serializable
Describes the content of the lexicon.
| Constructor and Description |
|---|
LexiconDescription() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
LexiconAttributes |
getAttributes()
Provides lexicon metadata.
|
java.lang.String |
getName()
Name of the lexicon.
|
int |
hashCode() |
void |
setAttributes(LexiconAttributes attributes)
Provides lexicon metadata.
|
void |
setName(java.lang.String name)
Name of the lexicon.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
LexiconDescription |
withAttributes(LexiconAttributes attributes)
Provides lexicon metadata.
|
LexiconDescription |
withName(java.lang.String name)
Name of the lexicon.
|
public java.lang.String getName()
Name of the lexicon.
Constraints:
Pattern: [0-9A-Za-z]{1,20}
Name of the lexicon.
public void setName(java.lang.String name)
Name of the lexicon.
Constraints:
Pattern: [0-9A-Za-z]{1,20}
name - Name of the lexicon.
public LexiconDescription withName(java.lang.String name)
Name of the lexicon.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: [0-9A-Za-z]{1,20}
name - Name of the lexicon.
public LexiconAttributes getAttributes()
Provides lexicon metadata.
Provides lexicon metadata.
public void setAttributes(LexiconAttributes attributes)
Provides lexicon metadata.
attributes - Provides lexicon metadata.
public LexiconDescription withAttributes(LexiconAttributes attributes)
Provides lexicon metadata.
Returns a reference to this object so that method calls can be chained together.
attributes - Provides lexicon metadata.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.