Interface MedicalItem.Builder

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

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

    • startTime

      MedicalItem.Builder startTime(Double startTime)

      The start time, in milliseconds, of the transcribed item.

      Parameters:
      startTime - The start time, in milliseconds, of the transcribed item.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endTime

      MedicalItem.Builder endTime(Double endTime)

      The end time, in milliseconds, of the transcribed item.

      Parameters:
      endTime - The end time, in milliseconds, of the transcribed item.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • type

      The type of item identified. Options are: PRONUNCIATION (spoken words) and PUNCTUATION.

      Parameters:
      type - The type of item identified. Options are: PRONUNCIATION (spoken words) and PUNCTUATION.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      The type of item identified. Options are: PRONUNCIATION (spoken words) and PUNCTUATION.

      Parameters:
      type - The type of item identified. Options are: PRONUNCIATION (spoken words) and PUNCTUATION.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • content

      MedicalItem.Builder content(String content)

      The word or punctuation that was transcribed.

      Parameters:
      content - The word or punctuation that was transcribed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • confidence

      MedicalItem.Builder confidence(Double confidence)

      The confidence score associated with a word or phrase in your transcript.

      Confidence scores are values between 0 and 1. A larger value indicates a higher probability that the identified item correctly matches the item spoken in your media.

      Parameters:
      confidence - The confidence score associated with a word or phrase in your transcript.

      Confidence scores are values between 0 and 1. A larger value indicates a higher probability that the identified item correctly matches the item spoken in your media.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • speaker

      MedicalItem.Builder speaker(String speaker)

      If speaker partitioning is enabled, Speaker labels the speaker of the specified item.

      Parameters:
      speaker - If speaker partitioning is enabled, Speaker labels the speaker of the specified item.
      Returns:
      Returns a reference to this object so that method calls can be chained together.