Interface PiiEntity.Builder

All Superinterfaces:
Buildable, CopyableBuilder<PiiEntity.Builder,PiiEntity>, SdkBuilder<PiiEntity.Builder,PiiEntity>, SdkPojo
Enclosing class:
PiiEntity

public static interface PiiEntity.Builder extends SdkPojo, CopyableBuilder<PiiEntity.Builder,PiiEntity>
  • Method Details

    • 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.
    • type

      The entity's type.

      Parameters:
      type - The entity's type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      The entity's type.

      Parameters:
      type - The entity's type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.