Interface VoiceCreationData.Builder

  • Method Details

    • recordings

      The recordings of the speaker. Each recording specifies its audio format and its audio source.

      Parameters:
      recordings - The recordings of the speaker. Each recording specifies its audio format and its audio source.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • recordings

      VoiceCreationData.Builder recordings(Recording... recordings)

      The recordings of the speaker. Each recording specifies its audio format and its audio source.

      Parameters:
      recordings - The recordings of the speaker. Each recording specifies its audio format and its audio source.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • recordings

      The recordings of the speaker. Each recording specifies its audio format and its audio source.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to recordings(List<Recording>).

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