@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Lexicon extends Object implements Serializable, Cloneable
Provides lexicon name and lexicon content in string format. For more information, see Pronunciation Lexicon Specification (PLS) Version 1.0.
Constructor and Description |
---|
Lexicon() |
Modifier and Type | Method and Description |
---|---|
Lexicon |
clone() |
boolean |
equals(Object obj) |
String |
getContent()
Lexicon content in string format.
|
String |
getName()
Name of the lexicon.
|
int |
hashCode() |
void |
setContent(String content)
Lexicon content in string format.
|
void |
setName(String name)
Name of the lexicon.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Lexicon |
withContent(String content)
Lexicon content in string format.
|
Lexicon |
withName(String name)
Name of the lexicon.
|
public void setContent(String content)
Lexicon content in string format. The content of a lexicon must be in PLS format.
content
- Lexicon content in string format. The content of a lexicon must be in PLS format.public String getContent()
Lexicon content in string format. The content of a lexicon must be in PLS format.
public Lexicon withContent(String content)
Lexicon content in string format. The content of a lexicon must be in PLS format.
content
- Lexicon content in string format. The content of a lexicon must be in PLS format.public void setName(String name)
Name of the lexicon.
name
- Name of the lexicon.public String getName()
Name of the lexicon.
public Lexicon withName(String name)
Name of the lexicon.
name
- Name of the lexicon.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.