Interface VoiceToneAnalysisTask.Builder

  • Method Details

    • voiceToneAnalysisTaskId

      VoiceToneAnalysisTask.Builder voiceToneAnalysisTaskId(String voiceToneAnalysisTaskId)

      The ID of the voice tone analysis task.

      Parameters:
      voiceToneAnalysisTaskId - The ID of the voice tone analysis task.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • voiceToneAnalysisTaskStatus

      VoiceToneAnalysisTask.Builder voiceToneAnalysisTaskStatus(String voiceToneAnalysisTaskStatus)

      The status of a voice tone analysis task, IN_QUEUE, IN_PROGRESS, PARTIAL_SUCCESS, SUCCEEDED, FAILED, or STOPPED.

      Parameters:
      voiceToneAnalysisTaskStatus - The status of a voice tone analysis task, IN_QUEUE, IN_PROGRESS, PARTIAL_SUCCESS, SUCCEEDED, FAILED, or STOPPED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • callDetails

      VoiceToneAnalysisTask.Builder callDetails(CallDetails callDetails)

      The call details of a voice tone analysis task.

      Parameters:
      callDetails - The call details of a voice tone analysis task.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • callDetails

      default VoiceToneAnalysisTask.Builder callDetails(Consumer<CallDetails.Builder> callDetails)

      The call details of a voice tone analysis task.

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

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

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

      VoiceToneAnalysisTask.Builder createdTimestamp(Instant createdTimestamp)

      The time at which a voice tone analysis task was created.

      Parameters:
      createdTimestamp - The time at which a voice tone analysis task was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updatedTimestamp

      VoiceToneAnalysisTask.Builder updatedTimestamp(Instant updatedTimestamp)

      The time at which a voice tone analysis task was updated.

      Parameters:
      updatedTimestamp - The time at which a voice tone analysis task was updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • startedTimestamp

      VoiceToneAnalysisTask.Builder startedTimestamp(Instant startedTimestamp)

      The time at which a voice tone analysis task started.

      Parameters:
      startedTimestamp - The time at which a voice tone analysis task started.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • statusMessage

      VoiceToneAnalysisTask.Builder statusMessage(String statusMessage)

      The status of a voice tone analysis task.

      Parameters:
      statusMessage - The status of a voice tone analysis task.
      Returns:
      Returns a reference to this object so that method calls can be chained together.