Interface GuardrailChecksSensitiveInformationResultEntry.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<GuardrailChecksSensitiveInformationResultEntry.Builder,,GuardrailChecksSensitiveInformationResultEntry> SdkBuilder<GuardrailChecksSensitiveInformationResultEntry.Builder,,GuardrailChecksSensitiveInformationResultEntry> SdkPojo
- Enclosing class:
GuardrailChecksSensitiveInformationResultEntry
@Mutable
@NotThreadSafe
public static interface GuardrailChecksSensitiveInformationResultEntry.Builder
extends SdkPojo, CopyableBuilder<GuardrailChecksSensitiveInformationResultEntry.Builder,GuardrailChecksSensitiveInformationResultEntry>
-
Method Summary
Modifier and TypeMethodDescriptionbeginOffset(Integer beginOffset) The start character offset of the detected entity within the content block.confidenceScore(Double confidenceScore) The confidence score for the detection, ranging from 0.0 to 1.0.contentIndex(Integer contentIndex) The zero-based index of the content block within the message where the entity was detected.The end character offset of the detected entity within the content block.messageIndex(Integer messageIndex) The zero-based index of the message in the input messages array where the entity was detected.The PII entity type that was detected.The PII entity type that was detected.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
type
The PII entity type that was detected.
- Parameters:
type- The PII entity type that was detected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
GuardrailChecksSensitiveInformationResultEntry.Builder type(GuardrailChecksSensitiveInformationEntityType type) The PII entity type that was detected.
- Parameters:
type- The PII entity type that was detected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
confidenceScore
The confidence score for the detection, ranging from 0.0 to 1.0. Higher values indicate greater confidence.
- Parameters:
confidenceScore- The confidence score for the detection, ranging from 0.0 to 1.0. Higher values indicate greater confidence.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
beginOffset
The start character offset of the detected entity within the content block.
- Parameters:
beginOffset- The start character offset of the detected entity within the content block.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endOffset
The end character offset of the detected entity within the content block.
- Parameters:
endOffset- The end character offset of the detected entity within the content block.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
messageIndex
The zero-based index of the message in the input messages array where the entity was detected.
- Parameters:
messageIndex- The zero-based index of the message in the input messages array where the entity was detected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentIndex
The zero-based index of the content block within the message where the entity was detected.
- Parameters:
contentIndex- The zero-based index of the content block within the message where the entity was detected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-