Interface VoiceParameters.Builder

  • Method Details

    • inlineTemplateBody

      VoiceParameters.Builder inlineTemplateBody(String inlineTemplateBody)

      The freeform message template used to render the one-time passcode for the voice channel. The template must contain the code placeholder.

      Parameters:
      inlineTemplateBody - The freeform message template used to render the one-time passcode for the voice channel. The template must contain the code placeholder.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • languageCode

      VoiceParameters.Builder languageCode(String languageCode)

      The BCP 47 language code used to render the voice message.

      Parameters:
      languageCode - The BCP 47 language code used to render the voice message.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • voiceId

      VoiceParameters.Builder voiceId(String voiceId)

      The Amazon Polly voice ID used for the voice channel.

      Parameters:
      voiceId - The Amazon Polly voice ID used for the voice channel.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • voiceMessageBodyTextType

      VoiceParameters.Builder voiceMessageBodyTextType(String voiceMessageBodyTextType)

      The format of the voice message body. Valid values are TEXT and SSML.

      Parameters:
      voiceMessageBodyTextType - The format of the voice message body. Valid values are TEXT and SSML.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • voiceMessageBodyTextType

      VoiceParameters.Builder voiceMessageBodyTextType(VoiceMessageBodyTextType voiceMessageBodyTextType)

      The format of the voice message body. Valid values are TEXT and SSML.

      Parameters:
      voiceMessageBodyTextType - The format of the voice message body. Valid values are TEXT and SSML.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: