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

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

    • startTime

      Item.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

      Item.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

      Item.Builder type(String 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

      Item.Builder type(ItemType 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

      Item.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.
    • vocabularyFilterMatch

      Item.Builder vocabularyFilterMatch(Boolean vocabularyFilterMatch)

      Indicates whether the specified item matches a word in the vocabulary filter included in your request. If true, there is a vocabulary filter match.

      Parameters:
      vocabularyFilterMatch - Indicates whether the specified item matches a word in the vocabulary filter included in your request. If true, there is a vocabulary filter match.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • speaker

      Item.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.
    • confidence

      Item.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.
    • stable

      Item.Builder stable(Boolean stable)

      If partial result stabilization is enabled, Stable indicates whether the specified item is stable (true) or if it may change when the segment is complete (false).

      Parameters:
      stable - If partial result stabilization is enabled, Stable indicates whether the specified item is stable (true) or if it may change when the segment is complete (false).
      Returns:
      Returns a reference to this object so that method calls can be chained together.