public class DeleteLexiconRequest
extends com.amazonaws.AmazonWebServiceRequest
implements java.io.Serializable
Deletes the specified pronunciation lexicon stored in an Amazon Web Services
Region. A lexicon which has been deleted is not available for speech
synthesis, nor is it possible to retrieve it using either the
GetLexicon or ListLexicon APIs.
For more information, see Managing Lexicons.
| Constructor and Description |
|---|
DeleteLexiconRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getName()
The name of the lexicon to delete.
|
int |
hashCode() |
void |
setName(java.lang.String name)
The name of the lexicon to delete.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteLexiconRequest |
withName(java.lang.String name)
The name of the lexicon to delete.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic java.lang.String getName()
The name of the lexicon to delete. Must be an existing lexicon in the region.
Constraints:
Pattern: [0-9A-Za-z]{1,20}
The name of the lexicon to delete. Must be an existing lexicon in the region.
public void setName(java.lang.String name)
The name of the lexicon to delete. Must be an existing lexicon in the region.
Constraints:
Pattern: [0-9A-Za-z]{1,20}
name - The name of the lexicon to delete. Must be an existing lexicon in the region.
public DeleteLexiconRequest withName(java.lang.String name)
The name of the lexicon to delete. Must be an existing lexicon in the region.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: [0-9A-Za-z]{1,20}
name - The name of the lexicon to delete. Must be an existing lexicon in the region.
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.Object