Interface Audio.Builder

    • Method Detail

      • locale

        Audio.Builder locale​(String locale)

        The locale of the audio message. Currently, en-US is supported.

        Parameters:
        locale - The locale of the audio message. Currently, en-US is supported.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Locale, Locale
      • locale

        Audio.Builder locale​(Locale locale)

        The locale of the audio message. Currently, en-US is supported.

        Parameters:
        locale - The locale of the audio message. Currently, en-US is supported.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Locale, Locale
      • location

        Audio.Builder location​(String location)

        The location of the audio file. Currently, S3 URLs are supported. Only S3 locations comprised of safe characters are valid. For more information, see Safe Characters.

        Parameters:
        location - The location of the audio file. Currently, S3 URLs are supported. Only S3 locations comprised of safe characters are valid. For more information, see Safe Characters.
        Returns:
        Returns a reference to this object so that method calls can be chained together.