Interface PlainTextMessageType.Builder

    • Method Detail

      • languageCode

        PlainTextMessageType.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

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

        PlainTextMessageType.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.