Interface DefaultDetection.Builder

  • Method Details

    • count

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

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

      DefaultDetection.Builder occurrences(Occurrences occurrences)

      The location of 1-15 occurrences of the sensitive data that was detected. A finding includes location data for a maximum of 15 occurrences of sensitive data.

      Parameters:
      occurrences - The location of 1-15 occurrences of the sensitive data that was detected. A finding includes location data for a maximum of 15 occurrences of sensitive data.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • occurrences

      default DefaultDetection.Builder occurrences(Consumer<Occurrences.Builder> occurrences)

      The location of 1-15 occurrences of the sensitive data that was detected. A finding includes location data for a maximum of 15 occurrences of sensitive data.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to occurrences(Occurrences).

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

      The type of sensitive data that was detected. For example, AWS_CREDENTIALS, PHONE_NUMBER, or ADDRESS.

      Parameters:
      type - The type of sensitive data that was detected. For example, AWS_CREDENTIALS, PHONE_NUMBER, or ADDRESS.
      Returns:
      Returns a reference to this object so that method calls can be chained together.