Interface CustomDataIdentifiers.Builder

  • Method Details

    • detections

      The custom data identifiers that detected the data, and the number of occurrences of the data that each identifier detected.

      Parameters:
      detections - The custom data identifiers that detected the data, and the number of occurrences of the data that each identifier detected.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • detections

      The custom data identifiers that detected the data, and the number of occurrences of the data that each identifier detected.

      Parameters:
      detections - The custom data identifiers that detected the data, and the number of occurrences of the data that each identifier detected.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • detections

      The custom data identifiers that detected the data, and the number of occurrences of the data that each identifier detected.

      This is a convenience method that creates an instance of the CustomDetection.Builder avoiding the need to create one manually via CustomDetection.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to detections(List<CustomDetection>).

      Parameters:
      detections - a consumer that will call methods on CustomDetection.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • totalCount

      CustomDataIdentifiers.Builder totalCount(Long totalCount)

      The total number of occurrences of the data that was detected by the custom data identifiers and produced the finding.

      Parameters:
      totalCount - The total number of occurrences of the data that was detected by the custom data identifiers and produced the finding.
      Returns:
      Returns a reference to this object so that method calls can be chained together.