Interface DefaultDetection.Builder

    • Method Detail

      • count

        DefaultDetection.Builder count​(Long 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.
      • type

        DefaultDetection.Builder type​(String 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.