Interface SensitiveDataItem.Builder

  • Method Details

    • category

      SensitiveDataItem.Builder category(String category)

      The category of sensitive data that was detected. For example: CREDENTIALS, for credentials data such as private keys or Amazon Web Services secret access keys; FINANCIAL_INFORMATION, for financial data such as credit card numbers; or, PERSONAL_INFORMATION, for personal health information, such as health insurance identification numbers, or personally identifiable information, such as passport numbers.

      Parameters:
      category - The category of sensitive data that was detected. For example: CREDENTIALS, for credentials data such as private keys or Amazon Web Services secret access keys; FINANCIAL_INFORMATION, for financial data such as credit card numbers; or, PERSONAL_INFORMATION, for personal health information, such as health insurance identification numbers, or personally identifiable information, such as passport numbers.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • category

      The category of sensitive data that was detected. For example: CREDENTIALS, for credentials data such as private keys or Amazon Web Services secret access keys; FINANCIAL_INFORMATION, for financial data such as credit card numbers; or, PERSONAL_INFORMATION, for personal health information, such as health insurance identification numbers, or personally identifiable information, such as passport numbers.

      Parameters:
      category - The category of sensitive data that was detected. For example: CREDENTIALS, for credentials data such as private keys or Amazon Web Services secret access keys; FINANCIAL_INFORMATION, for financial data such as credit card numbers; or, PERSONAL_INFORMATION, for personal health information, such as health insurance identification numbers, or personally identifiable information, such as passport numbers.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • detections

      An array of objects, one for each type of sensitive data that was detected. Each object reports the number of occurrences of a specific type of sensitive data that was detected, and the location of up to 15 of those occurrences.

      Parameters:
      detections - An array of objects, one for each type of sensitive data that was detected. Each object reports the number of occurrences of a specific type of sensitive data that was detected, and the location of up to 15 of those occurrences.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • detections

      SensitiveDataItem.Builder detections(DefaultDetection... detections)

      An array of objects, one for each type of sensitive data that was detected. Each object reports the number of occurrences of a specific type of sensitive data that was detected, and the location of up to 15 of those occurrences.

      Parameters:
      detections - An array of objects, one for each type of sensitive data that was detected. Each object reports the number of occurrences of a specific type of sensitive data that was detected, and the location of up to 15 of those occurrences.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • detections

      An array of objects, one for each type of sensitive data that was detected. Each object reports the number of occurrences of a specific type of sensitive data that was detected, and the location of up to 15 of those occurrences.

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

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

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

      SensitiveDataItem.Builder totalCount(Long totalCount)

      The total number of occurrences of the sensitive data that was detected.

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