@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; 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()
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.