Interface Recording.Builder

  • Method Details

    • format

      Recording.Builder format(String format)

      The audio format of the recording: wav, flac, ogg_vorbis, or mp3. The format must match the audio data.

      Parameters:
      format - The audio format of the recording: wav, flac, ogg_vorbis, or mp3. The format must match the audio data.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • format

      The audio format of the recording: wav, flac, ogg_vorbis, or mp3. The format must match the audio data.

      Parameters:
      format - The audio format of the recording: wav, flac, ogg_vorbis, or mp3. The format must match the audio data.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • data

      The audio source of the recording. Specify either an Amazon S3 object or the audio data.

      Parameters:
      data - The audio source of the recording. Specify either an Amazon S3 object or the audio data.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • data

      The audio source of the recording. Specify either an Amazon S3 object or the audio data.

      This is a convenience method that creates an instance of the RecordingData.Builder avoiding the need to create one manually via RecordingData.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to data(RecordingData).

      Parameters:
      data - a consumer that will call methods on RecordingData.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: