Interface SeverityLevel.Builder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      SeverityLevel.Builder occurrencesThreshold​(Long occurrencesThreshold)
      The minimum number of occurrences of text that must match the custom data identifier's detection criteria in order to produce a finding with the specified severity (severity).
      SeverityLevel.Builder severity​(String severity)
      The severity to assign to a finding: if the number of occurrences is greater than or equal to the specified threshold (occurrencesThreshold); and, if applicable, the number of occurrences is less than the threshold for the next consecutive severity level for the custom data identifier, moving from LOW to HIGH.
      SeverityLevel.Builder severity​(DataIdentifierSeverity severity)
      The severity to assign to a finding: if the number of occurrences is greater than or equal to the specified threshold (occurrencesThreshold); and, if applicable, the number of occurrences is less than the threshold for the next consecutive severity level for the custom data identifier, moving from LOW to HIGH.
    • Method Detail

      • occurrencesThreshold

        SeverityLevel.Builder occurrencesThreshold​(Long occurrencesThreshold)

        The minimum number of occurrences of text that must match the custom data identifier's detection criteria in order to produce a finding with the specified severity (severity).

        Parameters:
        occurrencesThreshold - The minimum number of occurrences of text that must match the custom data identifier's detection criteria in order to produce a finding with the specified severity (severity).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • severity

        SeverityLevel.Builder severity​(String severity)

        The severity to assign to a finding: if the number of occurrences is greater than or equal to the specified threshold (occurrencesThreshold); and, if applicable, the number of occurrences is less than the threshold for the next consecutive severity level for the custom data identifier, moving from LOW to HIGH.

        Parameters:
        severity - The severity to assign to a finding: if the number of occurrences is greater than or equal to the specified threshold (occurrencesThreshold); and, if applicable, the number of occurrences is less than the threshold for the next consecutive severity level for the custom data identifier, moving from LOW to HIGH.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        DataIdentifierSeverity, DataIdentifierSeverity
      • severity

        SeverityLevel.Builder severity​(DataIdentifierSeverity severity)

        The severity to assign to a finding: if the number of occurrences is greater than or equal to the specified threshold (occurrencesThreshold); and, if applicable, the number of occurrences is less than the threshold for the next consecutive severity level for the custom data identifier, moving from LOW to HIGH.

        Parameters:
        severity - The severity to assign to a finding: if the number of occurrences is greater than or equal to the specified threshold (occurrencesThreshold); and, if applicable, the number of occurrences is less than the threshold for the next consecutive severity level for the custom data identifier, moving from LOW to HIGH.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        DataIdentifierSeverity, DataIdentifierSeverity