Interface RedactionConfig.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RedactionConfig.Builder,RedactionConfig>,SdkBuilder<RedactionConfig.Builder,RedactionConfig>,SdkPojo
- Enclosing class:
- RedactionConfig
public static interface RedactionConfig.Builder extends SdkPojo, CopyableBuilder<RedactionConfig.Builder,RedactionConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RedactionConfig.BuildermaskCharacter(String maskCharacter)A character that replaces each character in the redacted PII entity.RedactionConfig.BuildermaskMode(String maskMode)Specifies whether the PII entity is redacted with the mask character or the entity type.RedactionConfig.BuildermaskMode(PiiEntitiesDetectionMaskMode maskMode)Specifies whether the PII entity is redacted with the mask character or the entity type.RedactionConfig.BuilderpiiEntityTypes(Collection<PiiEntityType> piiEntityTypes)An array of the types of PII entities that Amazon Comprehend detects in the input text for your request.RedactionConfig.BuilderpiiEntityTypes(PiiEntityType... piiEntityTypes)An array of the types of PII entities that Amazon Comprehend detects in the input text for your request.RedactionConfig.BuilderpiiEntityTypesWithStrings(String... piiEntityTypes)An array of the types of PII entities that Amazon Comprehend detects in the input text for your request.RedactionConfig.BuilderpiiEntityTypesWithStrings(Collection<String> piiEntityTypes)An array of the types of PII entities that Amazon Comprehend detects in the input text for your request.-
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
-
piiEntityTypesWithStrings
RedactionConfig.Builder piiEntityTypesWithStrings(Collection<String> piiEntityTypes)
An array of the types of PII entities that Amazon Comprehend detects in the input text for your request.
- Parameters:
piiEntityTypes- An array of the types of PII entities that Amazon Comprehend detects in the input text for your request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
piiEntityTypesWithStrings
RedactionConfig.Builder piiEntityTypesWithStrings(String... piiEntityTypes)
An array of the types of PII entities that Amazon Comprehend detects in the input text for your request.
- Parameters:
piiEntityTypes- An array of the types of PII entities that Amazon Comprehend detects in the input text for your request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
piiEntityTypes
RedactionConfig.Builder piiEntityTypes(Collection<PiiEntityType> piiEntityTypes)
An array of the types of PII entities that Amazon Comprehend detects in the input text for your request.
- Parameters:
piiEntityTypes- An array of the types of PII entities that Amazon Comprehend detects in the input text for your request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
piiEntityTypes
RedactionConfig.Builder piiEntityTypes(PiiEntityType... piiEntityTypes)
An array of the types of PII entities that Amazon Comprehend detects in the input text for your request.
- Parameters:
piiEntityTypes- An array of the types of PII entities that Amazon Comprehend detects in the input text for your request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maskMode
RedactionConfig.Builder maskMode(String maskMode)
Specifies whether the PII entity is redacted with the mask character or the entity type.
- Parameters:
maskMode- Specifies whether the PII entity is redacted with the mask character or the entity type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PiiEntitiesDetectionMaskMode,PiiEntitiesDetectionMaskMode
-
maskMode
RedactionConfig.Builder maskMode(PiiEntitiesDetectionMaskMode maskMode)
Specifies whether the PII entity is redacted with the mask character or the entity type.
- Parameters:
maskMode- Specifies whether the PII entity is redacted with the mask character or the entity type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PiiEntitiesDetectionMaskMode,PiiEntitiesDetectionMaskMode
-
maskCharacter
RedactionConfig.Builder maskCharacter(String maskCharacter)
A character that replaces each character in the redacted PII entity.
- Parameters:
maskCharacter- A character that replaces each character in the redacted PII entity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-