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
Modifier and TypeMethodDescriptionmaskCharacter
(String maskCharacter) A character that replaces each character in the redacted PII entity.Specifies whether the PII entity is redacted with the mask character or the entity type.maskMode
(PiiEntitiesDetectionMaskMode maskMode) Specifies whether the PII entity is redacted with the mask character or the entity type.piiEntityTypes
(Collection<PiiEntityType> piiEntityTypes) An array of the types of PII entities that Amazon Comprehend detects in the input text for your request.piiEntityTypes
(PiiEntityType... piiEntityTypes) An array of the types of PII entities that Amazon Comprehend detects in the input text for your request.piiEntityTypesWithStrings
(String... piiEntityTypes) An array of the types of PII entities that Amazon Comprehend detects in the input text for your request.piiEntityTypesWithStrings
(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 Details
-
piiEntityTypesWithStrings
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
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
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
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
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:
-
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:
-
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.
-