Interface ContactLensRedactionConfiguration.Builder

  • Method Details

    • behavior

      Specifies whether redaction is enabled for sensitive data, such as personal information, in the conversational analytics output. Valid values:

      • Enable – Redaction is applied according to the other values in this object.

      • Disable – Redaction is not applied, and all other values in this object are ignored.

      Parameters:
      behavior - Specifies whether redaction is enabled for sensitive data, such as personal information, in the conversational analytics output. Valid values:

      • Enable – Redaction is applied according to the other values in this object.

      • Disable – Redaction is not applied, and all other values in this object are ignored.

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

      The redaction policy that determines which versions of the transcript are stored. Valid values:

      • None – No redaction is applied.

      • RedactedOnly – Only the redacted transcript is stored.

      • RedactedAndOriginal – Both the redacted and the original transcript are stored.

      Parameters:
      policy - The redaction policy that determines which versions of the transcript are stored. Valid values:

      • None – No redaction is applied.

      • RedactedOnly – Only the redacted transcript is stored.

      • RedactedAndOriginal – Both the redacted and the original transcript are stored.

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

      The entity types to redact from the transcript (for example, NAME, EMAIL, ADDRESS).

      Parameters:
      entities - The entity types to redact from the transcript (for example, NAME, EMAIL, ADDRESS).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • entities

      The entity types to redact from the transcript (for example, NAME, EMAIL, ADDRESS).

      Parameters:
      entities - The entity types to redact from the transcript (for example, NAME, EMAIL, ADDRESS).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maskMode

      How sensitive information is masked in the transcript. Valid values:

      • PII – All redacted entities are replaced with the [PII] string.

      • EntityType – All redacted entities are replaced with the label of the entity. For example, when the EMAIL entity is configured for redaction, emails in the transcript are replaced with the [EMAIL] string.

      Parameters:
      maskMode - How sensitive information is masked in the transcript. Valid values:

      • PII – All redacted entities are replaced with the [PII] string.

      • EntityType – All redacted entities are replaced with the label of the entity. For example, when the EMAIL entity is configured for redaction, emails in the transcript are replaced with the [EMAIL] string.

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