GetVoicesPlainArgs

data class GetVoicesPlainArgs(val engine: String? = null, val includeAdditionalLanguageCodes: Boolean? = null, val languageCode: String? = null, val voices: List<GetVoicesVoice>? = null) : ConvertibleToJava<GetVoicesPlainArgs>

A collection of arguments for invoking getVoices.

Constructors

Link copied to clipboard
constructor(engine: String? = null, includeAdditionalLanguageCodes: Boolean? = null, languageCode: String? = null, voices: List<GetVoicesVoice>? = null)

Properties

Link copied to clipboard
val engine: String? = null

Engine used by Amazon Polly when processing input text for speech synthesis. Valid values are standard, neural, and long-form.

Link copied to clipboard

Whether to return any bilingual voices that use the specified language as an additional language.

Link copied to clipboard
val languageCode: String? = null

Language identification tag for filtering the list of voices returned. If not specified, all available voices are returned.

Link copied to clipboard
val voices: List<GetVoicesVoice>? = null

List of voices with their properties. See voices Attribute Reference below.

Functions

Link copied to clipboard
open override fun toJava(): GetVoicesPlainArgs