Class SpeakCreateParams.VoiceSettings.Builder
-
- All Implemented Interfaces:
public final class SpeakCreateParams.VoiceSettings.BuilderA builder for VoiceSettings.
-
-
Method Summary
-
-
Method Detail
-
similarityBoost
final SpeakCreateParams.VoiceSettings.Builder similarityBoost(Double similarityBoost)
Similarity boost (0-1)
-
similarityBoost
final SpeakCreateParams.VoiceSettings.Builder similarityBoost(JsonField<Double> similarityBoost)
Sets Builder.similarityBoost to an arbitrary JSON value.
You should usually call Builder.similarityBoost with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
stability
final SpeakCreateParams.VoiceSettings.Builder stability(Double stability)
Voice stability (0-1)
-
stability
final SpeakCreateParams.VoiceSettings.Builder stability(JsonField<Double> stability)
Sets Builder.stability to an arbitrary JSON value.
You should usually call Builder.stability with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
style
final SpeakCreateParams.VoiceSettings.Builder style(Double style)
Style exaggeration (0-1)
-
style
final SpeakCreateParams.VoiceSettings.Builder style(JsonField<Double> style)
Sets Builder.style to an arbitrary JSON value.
You should usually call Builder.style with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
useSpeakerBoost
final SpeakCreateParams.VoiceSettings.Builder useSpeakerBoost(Boolean useSpeakerBoost)
Enable speaker boost
-
useSpeakerBoost
final SpeakCreateParams.VoiceSettings.Builder useSpeakerBoost(JsonField<Boolean> useSpeakerBoost)
Sets Builder.useSpeakerBoost to an arbitrary JSON value.
You should usually call Builder.useSpeakerBoost with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final SpeakCreateParams.VoiceSettings.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final SpeakCreateParams.VoiceSettings.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final SpeakCreateParams.VoiceSettings.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final SpeakCreateParams.VoiceSettings.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final SpeakCreateParams.VoiceSettings.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final SpeakCreateParams.VoiceSettings build()
Returns an immutable instance of VoiceSettings.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-