@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Lexicon extends Object implements Serializable, Cloneable, StructuredPojo
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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
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.
|
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 ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.