Class DescribeVoicesRequest

    • Method Detail

      • engine

        public final Engine engine()

        Specifies the engine (standard, neural or long-form) used by Amazon Polly when processing input text for speech synthesis.

        If the service returns an enum value that is not available in the current SDK version, engine will return Engine.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from engineAsString().

        Returns:
        Specifies the engine (standard, neural or long-form) used by Amazon Polly when processing input text for speech synthesis.
        See Also:
        Engine
      • engineAsString

        public final String engineAsString()

        Specifies the engine (standard, neural or long-form) used by Amazon Polly when processing input text for speech synthesis.

        If the service returns an enum value that is not available in the current SDK version, engine will return Engine.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from engineAsString().

        Returns:
        Specifies the engine (standard, neural or long-form) used by Amazon Polly when processing input text for speech synthesis.
        See Also:
        Engine
      • languageCode

        public final LanguageCode languageCode()

        The language identification tag (ISO 639 code for the language name-ISO 3166 country code) for filtering the list of voices returned. If you don't specify this optional parameter, all available voices are returned.

        If the service returns an enum value that is not available in the current SDK version, languageCode will return LanguageCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from languageCodeAsString().

        Returns:
        The language identification tag (ISO 639 code for the language name-ISO 3166 country code) for filtering the list of voices returned. If you don't specify this optional parameter, all available voices are returned.
        See Also:
        LanguageCode
      • languageCodeAsString

        public final String languageCodeAsString()

        The language identification tag (ISO 639 code for the language name-ISO 3166 country code) for filtering the list of voices returned. If you don't specify this optional parameter, all available voices are returned.

        If the service returns an enum value that is not available in the current SDK version, languageCode will return LanguageCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from languageCodeAsString().

        Returns:
        The language identification tag (ISO 639 code for the language name-ISO 3166 country code) for filtering the list of voices returned. If you don't specify this optional parameter, all available voices are returned.
        See Also:
        LanguageCode
      • includeAdditionalLanguageCodes

        public final Boolean includeAdditionalLanguageCodes()

        Boolean value indicating whether to return any bilingual voices that use the specified language as an additional language. For instance, if you request all languages that use US English (es-US), and there is an Italian voice that speaks both Italian (it-IT) and US English, that voice will be included if you specify yes but not if you specify no.

        Returns:
        Boolean value indicating whether to return any bilingual voices that use the specified language as an additional language. For instance, if you request all languages that use US English (es-US), and there is an Italian voice that speaks both Italian (it-IT) and US English, that voice will be included if you specify yes but not if you specify no.
      • nextToken

        public final String nextToken()

        An opaque pagination token returned from the previous DescribeVoices operation. If present, this indicates where to continue the listing.

        Returns:
        An opaque pagination token returned from the previous DescribeVoices operation. If present, this indicates where to continue the listing.
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object