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

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

    • 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

      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:
    • 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.