Class TextToAudioExecutionSettings
- java.lang.Object
-
- com.microsoft.semantickernel.services.audio.TextToAudioExecutionSettings
-
public class TextToAudioExecutionSettings extends Object
Represents the settings for text to audio execution.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTextToAudioExecutionSettings.BuilderRepresents a builder for text to audio execution settings.
-
Constructor Summary
Constructors Constructor Description TextToAudioExecutionSettings(String voice, String responseFormat, Double speed)Creates a new instance of the settings.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TextToAudioExecutionSettings.Builderbuilder()Creates a new builder.StringgetResponseFormat()Gets the response format.DoublegetSpeed()Gets the speed.StringgetVoice()Gets the voice.
-
-
-
Method Detail
-
getVoice
public String getVoice()
Gets the voice.- Returns:
- The voice.
-
getResponseFormat
public String getResponseFormat()
Gets the response format.- Returns:
- The response format.
-
getSpeed
@Nullable public Double getSpeed()
Gets the speed.- Returns:
- The speed.
-
builder
public static TextToAudioExecutionSettings.Builder builder()
Creates a new builder.- Returns:
- The builder.
-
-