Interface PiiEntity.Builder

    • Method Detail

      • score

        PiiEntity.Builder score​(Float score)

        The level of confidence that Amazon Comprehend has in the accuracy of the detection.

        Parameters:
        score - The level of confidence that Amazon Comprehend has in the accuracy of the detection.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • beginOffset

        PiiEntity.Builder beginOffset​(Integer beginOffset)

        The zero-based offset from the beginning of the source text to the first character in the entity.

        Parameters:
        beginOffset - The zero-based offset from the beginning of the source text to the first character in the entity.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • endOffset

        PiiEntity.Builder endOffset​(Integer endOffset)

        The zero-based offset from the beginning of the source text to the last character in the entity.

        Parameters:
        endOffset - The zero-based offset from the beginning of the source text to the last character in the entity.
        Returns:
        Returns a reference to this object so that method calls can be chained together.