Interface SSMLMessageType.Builder

    • Method Detail

      • languageCode

        SSMLMessageType.Builder languageCode​(String languageCode)
        The language to use when delivering the message. For a complete list of supported languages, see the Amazon Polly Developer Guide.
        Parameters:
        languageCode - The language to use when delivering the message. For a complete list of supported languages, see the Amazon Polly Developer Guide.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • text

        SSMLMessageType.Builder text​(String text)
        The SSML-formatted text to deliver to the recipient.
        Parameters:
        text - The SSML-formatted text to deliver to the recipient.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • voiceId

        SSMLMessageType.Builder voiceId​(String voiceId)
        The name of the voice that you want to use to deliver the message. For a complete list of supported voices, see the Amazon Polly Developer Guide.
        Parameters:
        voiceId - The name of the voice that you want to use to deliver the message. For a complete list of supported voices, see the Amazon Polly Developer Guide.
        Returns:
        Returns a reference to this object so that method calls can be chained together.