public static interface PiiEntity.Builder extends SdkPojo, CopyableBuilder<PiiEntity.Builder,PiiEntity>
| Modifier and Type | Method and Description |
|---|---|
PiiEntity.Builder |
beginOffset(Integer beginOffset)
A character offset in the input text that shows where the PII entity begins (the first character is at
position 0).
|
PiiEntity.Builder |
endOffset(Integer endOffset)
A character offset in the input text that shows where the PII entity ends.
|
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)
A character offset in the input text that shows where the PII entity begins (the first character is at position 0). The offset returns the position of each UTF-8 code point in the string. A code point is the abstract character from a particular graphical representation. For example, a multi-byte UTF-8 character maps to a single code point.
beginOffset - A character offset in the input text that shows where the PII entity begins (the first character is at
position 0). The offset returns the position of each UTF-8 code point in the string. A code
point is the abstract character from a particular graphical representation. For example, a
multi-byte UTF-8 character maps to a single code point.PiiEntity.Builder endOffset(Integer endOffset)
A character offset in the input text that shows where the PII entity ends. The offset returns the position of each UTF-8 code point in the string. A code point is the abstract character from a particular graphical representation. For example, a multi-byte UTF-8 character maps to a single code point.
endOffset - A character offset in the input text that shows where the PII entity ends. The offset returns the
position of each UTF-8 code point in the string. A code point is the abstract character from a
particular graphical representation. For example, a multi-byte UTF-8 character maps to a single code
point.Copyright © 2021. All rights reserved.