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

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

    • startTime

      Entity.Builder startTime(Double startTime)

      The start time, in milliseconds, of the utterance that was identified as PII.

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

      Entity.Builder endTime(Double endTime)

      The end time, in milliseconds, of the utterance that was identified as PII.

      Parameters:
      endTime - The end time, in milliseconds, of the utterance that was identified as PII.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • category

      Entity.Builder category(String category)

      The category of information identified. The only category is PII.

      Parameters:
      category - The category of information identified. The only category is PII.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • type

      Entity.Builder type(String type)

      The type of PII identified. For example, NAME or CREDIT_DEBIT_NUMBER.

      Parameters:
      type - The type of PII identified. For example, NAME or CREDIT_DEBIT_NUMBER.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • content

      Entity.Builder content(String content)

      The word or words identified as PII.

      Parameters:
      content - The word or words identified as PII.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • confidence

      Entity.Builder confidence(Double confidence)

      The confidence score associated with the identified PII entity in your audio.

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

      Parameters:
      confidence - The confidence score associated with the identified PII entity in your audio.

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

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