Interface SSMLMessageType.Builder

All Superinterfaces:
Buildable, CopyableBuilder<SSMLMessageType.Builder,SSMLMessageType>, SdkBuilder<SSMLMessageType.Builder,SSMLMessageType>, SdkPojo
Enclosing class:
SSMLMessageType

public static interface SSMLMessageType.Builder extends SdkPojo, CopyableBuilder<SSMLMessageType.Builder,SSMLMessageType>
  • Method Details

    • 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

      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.