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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PiiEntity.BuilderbeginOffset(Integer beginOffset)The zero-based offset from the beginning of the source text to the first character in the entity.PiiEntity.BuilderendOffset(Integer endOffset)The zero-based offset from the beginning of the source text to the last character in the entity.PiiEntity.Builderscore(Float score)The level of confidence that Amazon Comprehend has in the accuracy of the detection.PiiEntity.Buildertype(String type)The entity's type.PiiEntity.Buildertype(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 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.
-
type
PiiEntity.Builder type(String 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:
PiiEntityType,PiiEntityType
-
type
PiiEntity.Builder type(PiiEntityType 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:
PiiEntityType,PiiEntityType
-
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.
-
-