public static interface PiiEntity.Builder extends SdkPojo, CopyableBuilder<PiiEntity.Builder,PiiEntity>
| Modifier and Type | Method and Description |
|---|---|
PiiEntity.Builder |
beginOffset(Integer beginOffset)
The zero-based offset from the beginning of the source text to the first character in the entity.
|
PiiEntity.Builder |
endOffset(Integer endOffset)
The zero-based offset from the beginning of the source text to the last character in the entity.
|
PiiEntity.Builder |
score(Float score)
The level of confidence that Amazon Comprehend has in the accuracy of the detection.
|
PiiEntity.Builder |
type(PiiEntityType type)
The entity's type.
|
PiiEntity.Builder |
type(String type)
The entity's type.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildPiiEntity.Builder score(Float score)
The level of confidence that Amazon Comprehend has in the accuracy of the detection.
score - The level of confidence that Amazon Comprehend has in the accuracy of the detection.PiiEntity.Builder type(String type)
The entity's type.
type - The entity's type.PiiEntityType,
PiiEntityTypePiiEntity.Builder type(PiiEntityType type)
The entity's type.
type - The entity's type.PiiEntityType,
PiiEntityTypePiiEntity.Builder beginOffset(Integer beginOffset)
The zero-based offset from the beginning of the source text to the first character in the entity.
beginOffset - The zero-based offset from the beginning of the source text to the first character in the entity.PiiEntity.Builder endOffset(Integer endOffset)
The zero-based offset from the beginning of the source text to the last character in the entity.
endOffset - The zero-based offset from the beginning of the source text to the last character in the entity.Copyright © 2023. All rights reserved.