TextToAudioExecutionSettings Class
- java.
lang. Object - com.
microsoft. semantickernel. services. audio. TextToAudioExecutionSettings
- com.
public class TextToAudioExecutionSettings
Represents the settings for text to audio execution.
Constructor Summary
| Constructor | Description |
|---|---|
| TextToAudioExecutionSettings(String voice, String responseFormat, Double speed) |
Creates a new instance of the settings. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| static Builder |
builder()
Creates a new builder. |
| java.lang.String |
getResponseFormat()
Gets the response format. |
| java.lang.Double |
getSpeed()
Gets the speed. |
| java.lang.String |
getVoice()
Gets the voice. |
Methods inherited from java.lang.Object
Constructor Details
TextToAudioExecutionSettings
public TextToAudioExecutionSettings(String voice, String responseFormat, Double speed)
Creates a new instance of the settings.
Parameters:
Method Details
builder
public static TextToAudioExecutionSettings.Builder builder()
Creates a new builder.
Returns:
getResponseFormat
public String getResponseFormat()
Gets the response format.
Returns:
getSpeed
public Double getSpeed()
Gets the speed.
Returns:
getVoice
public String getVoice()
Gets the voice.
Returns: