Package com.oracle.bmc.aispeech.model
Enum TtsOracleSpeechSettings.TextType
- java.lang.Object
-
- java.lang.Enum<TtsOracleSpeechSettings.TextType>
-
- com.oracle.bmc.aispeech.model.TtsOracleSpeechSettings.TextType
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<TtsOracleSpeechSettings.TextType>
- Enclosing class:
- TtsOracleSpeechSettings
public static enum TtsOracleSpeechSettings.TextType extends Enum<TtsOracleSpeechSettings.TextType> implements BmcEnum
The format in which the input text has been supplied i.e., Text or SSML.The supported text types are: - TEXT - SSML
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TtsOracleSpeechSettings.TextType
create(String key)
String
getValue()
static TtsOracleSpeechSettings.TextType
valueOf(String name)
Returns the enum constant of this type with the specified name.static TtsOracleSpeechSettings.TextType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Text
public static final TtsOracleSpeechSettings.TextType Text
-
Ssml
public static final TtsOracleSpeechSettings.TextType Ssml
-
-
Method Detail
-
values
public static TtsOracleSpeechSettings.TextType[] 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 (TtsOracleSpeechSettings.TextType c : TtsOracleSpeechSettings.TextType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TtsOracleSpeechSettings.TextType 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 TtsOracleSpeechSettings.TextType create(String key)
-
-