Interface SensitiveDataConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SensitiveDataConfiguration.Builder,,SensitiveDataConfiguration> SdkBuilder<SensitiveDataConfiguration.Builder,,SensitiveDataConfiguration> SdkPojo
- Enclosing class:
SensitiveDataConfiguration
-
Method Summary
Modifier and TypeMethodDescriptiondetectionMode(String detectionMode) The detection mode.detectionMode(SensitiveDataDetectionMode detectionMode) The detection mode.piiEntitiesConfiguration(Consumer<PIIEntitiesConfiguration.Builder> piiEntitiesConfiguration) The configuration that specifies which PII entity types to detect and how to mask them.piiEntitiesConfiguration(PIIEntitiesConfiguration piiEntitiesConfiguration) The configuration that specifies which PII entity types to detect and how to mask them.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
-
detectionMode
The detection mode. Valid values:
-
DETECTION- Only detects sensitive data. -
DETECTION_AND_REDACTION- Detects and redacts sensitive data in the output. -
DISABLED- Does not detect sensitive data.
- Parameters:
detectionMode- The detection mode. Valid values:-
DETECTION- Only detects sensitive data. -
DETECTION_AND_REDACTION- Detects and redacts sensitive data in the output. -
DISABLED- Does not detect sensitive data.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
detectionMode
The detection mode. Valid values:
-
DETECTION- Only detects sensitive data. -
DETECTION_AND_REDACTION- Detects and redacts sensitive data in the output. -
DISABLED- Does not detect sensitive data.
- Parameters:
detectionMode- The detection mode. Valid values:-
DETECTION- Only detects sensitive data. -
DETECTION_AND_REDACTION- Detects and redacts sensitive data in the output. -
DISABLED- Does not detect sensitive data.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
piiEntitiesConfiguration
SensitiveDataConfiguration.Builder piiEntitiesConfiguration(PIIEntitiesConfiguration piiEntitiesConfiguration) The configuration that specifies which PII entity types to detect and how to mask them. If you omit it, Amazon Textract detects all PII entity types (
ALL) and masks them withENTITY_TYPE.- Parameters:
piiEntitiesConfiguration- The configuration that specifies which PII entity types to detect and how to mask them. If you omit it, Amazon Textract detects all PII entity types (ALL) and masks them withENTITY_TYPE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
piiEntitiesConfiguration
default SensitiveDataConfiguration.Builder piiEntitiesConfiguration(Consumer<PIIEntitiesConfiguration.Builder> piiEntitiesConfiguration) The configuration that specifies which PII entity types to detect and how to mask them. If you omit it, Amazon Textract detects all PII entity types (
This is a convenience method that creates an instance of theALL) and masks them withENTITY_TYPE.PIIEntitiesConfiguration.Builderavoiding the need to create one manually viaPIIEntitiesConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topiiEntitiesConfiguration(PIIEntitiesConfiguration).- Parameters:
piiEntitiesConfiguration- a consumer that will call methods onPIIEntitiesConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-