Package com.oracle.bmc.aispeech.model
Enum TtsOracleModelDetails.ModelName
- java.lang.Object
-
- java.lang.Enum<TtsOracleModelDetails.ModelName>
-
- com.oracle.bmc.aispeech.model.TtsOracleModelDetails.ModelName
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<TtsOracleModelDetails.ModelName>
- Enclosing class:
- TtsOracleModelDetails
public static enum TtsOracleModelDetails.ModelName extends Enum<TtsOracleModelDetails.ModelName> implements BmcEnum
The fully qualified name of model to use for speech generation.The available models are: - TTS_1_STANDARD - TTS_2_NATURAL
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Tts1Standard
Tts2Natural
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TtsOracleModelDetails.ModelName
create(String key)
String
getValue()
static TtsOracleModelDetails.ModelName
valueOf(String name)
Returns the enum constant of this type with the specified name.static TtsOracleModelDetails.ModelName[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Tts1Standard
public static final TtsOracleModelDetails.ModelName Tts1Standard
-
Tts2Natural
public static final TtsOracleModelDetails.ModelName Tts2Natural
-
-
Method Detail
-
values
public static TtsOracleModelDetails.ModelName[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TtsOracleModelDetails.ModelName c : TtsOracleModelDetails.ModelName.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TtsOracleModelDetails.ModelName valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
create
public static TtsOracleModelDetails.ModelName create(String key)
-
-