public class DeleteLexiconRequest extends AmazonWebServiceRequest implements Serializable
Deletes the specified pronunciation lexicon stored in an AWS 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(Object obj) |
String |
getName()
The name of the lexicon to delete.
|
int |
hashCode() |
void |
setName(String name)
The name of the lexicon to delete.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteLexiconRequest |
withName(String name)
The name of the lexicon to delete.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public 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(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(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 String toString()
toString
in class Object
Object.toString()
Copyright © 2018. All rights reserved.