public class SpeechModel extends Object
| Modifier and Type | Field and Description |
|---|---|
static SpeechModel |
ES_BROADBAND16K
The Constant ES_BROADBAND16K.
|
| Constructor and Description |
|---|
SpeechModel(String name)
Instantiates a new speech model.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Gets the name.
|
int |
getRate()
Gets the rate.
|
String |
getSessions()
Gets the sessions.
|
void |
setName(String name)
Sets the name.
|
void |
setRate(int rate)
Sets the rate.
|
void |
setSessions(String sessions)
Sets the sessions.
|
String |
toString() |
SpeechModel |
withName(String name)
With name.
|
SpeechModel |
withRate(int rate)
With rate.
|
SpeechModel |
withSessions(String sessions)
With sessions.
|
public static final SpeechModel ES_BROADBAND16K
public SpeechModel(String name)
name - the namepublic int getRate()
public void setRate(int rate)
rate - The ratepublic SpeechModel withRate(int rate)
rate - the ratepublic SpeechModel withSessions(String sessions)
sessions - the sessionspublic String getName()
public void setName(String name)
name - The namepublic SpeechModel withName(String name)
name - the namepublic String getSessions()
public void setSessions(String sessions)
sessions - the new sessionsCopyright © 2015. All rights reserved.