Package com.oracle.bmc.aispeech.model
Enum TtsConfiguration.ModelFamily
- java.lang.Object
-
- java.lang.Enum<TtsConfiguration.ModelFamily>
-
- com.oracle.bmc.aispeech.model.TtsConfiguration.ModelFamily
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<TtsConfiguration.ModelFamily>
- Enclosing class:
- TtsConfiguration
public static enum TtsConfiguration.ModelFamily extends Enum<TtsConfiguration.ModelFamily> implements BmcEnum
The class of models to use for speech generation.The available model families are: - ORACLE
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Oracle
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TtsConfiguration.ModelFamily
create(String key)
String
getValue()
static TtsConfiguration.ModelFamily
valueOf(String name)
Returns the enum constant of this type with the specified name.static TtsConfiguration.ModelFamily[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Oracle
public static final TtsConfiguration.ModelFamily Oracle
-
-
Method Detail
-
values
public static TtsConfiguration.ModelFamily[] 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 (TtsConfiguration.ModelFamily c : TtsConfiguration.ModelFamily.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TtsConfiguration.ModelFamily 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 TtsConfiguration.ModelFamily create(String key)
-
-