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 Summary
Modifier and TypeMethodDescriptionbeginOffset
(Integer beginOffset) The zero-based offset from the beginning of the source text to the first character in the entity.The zero-based offset from the beginning of the source text to the last character in the entity.The level of confidence that Amazon Comprehend has in the accuracy of the detection.The entity's type.type
(PiiEntityType type) The entity's type.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
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.
-