Interface PIIEntitiesConfiguration.Builder

  • Method Details

    • piiEntityTypesWithStrings

      PIIEntitiesConfiguration.Builder piiEntityTypesWithStrings(Collection<String> piiEntityTypes)

      The list of PII entity types to detect. Each type can appear only once.

      Parameters:
      piiEntityTypes - The list of PII entity types to detect. Each type can appear only once.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • piiEntityTypesWithStrings

      PIIEntitiesConfiguration.Builder piiEntityTypesWithStrings(String... piiEntityTypes)

      The list of PII entity types to detect. Each type can appear only once.

      Parameters:
      piiEntityTypes - The list of PII entity types to detect. Each type can appear only once.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • piiEntityTypes

      The list of PII entity types to detect. Each type can appear only once.

      Parameters:
      piiEntityTypes - The list of PII entity types to detect. Each type can appear only once.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • piiEntityTypes

      PIIEntitiesConfiguration.Builder piiEntityTypes(PIIEntityType... piiEntityTypes)

      The list of PII entity types to detect. Each type can appear only once.

      Parameters:
      piiEntityTypes - The list of PII entity types to detect. Each type can appear only once.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • redactionMaskMode

      PIIEntitiesConfiguration.Builder redactionMaskMode(String redactionMaskMode)

      How detected PII is masked in the redacted output.

      Parameters:
      redactionMaskMode - How detected PII is masked in the redacted output.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • redactionMaskMode

      PIIEntitiesConfiguration.Builder redactionMaskMode(PIIRedactionMaskMode redactionMaskMode)

      How detected PII is masked in the redacted output.

      Parameters:
      redactionMaskMode - How detected PII is masked in the redacted output.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: