Class CfnDataAutomationProjectPropsMixin.SensitiveDataConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bedrock.CfnDataAutomationProjectPropsMixin.SensitiveDataConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataAutomationProjectPropsMixin.SensitiveDataConfigurationProperty>
- Enclosing interface:
CfnDataAutomationProjectPropsMixin.SensitiveDataConfigurationProperty
@Stability(Stable)
public static final class CfnDataAutomationProjectPropsMixin.SensitiveDataConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataAutomationProjectPropsMixin.SensitiveDataConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.detectionMode(String detectionMode) detectionScope(List<String> detectionScope) piiEntitiesConfiguration(CfnDataAutomationProjectPropsMixin.PIIEntitiesConfigurationProperty piiEntitiesConfiguration) piiEntitiesConfiguration(IResolvable piiEntitiesConfiguration)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
detectionMode
@Stability(Stable) public CfnDataAutomationProjectPropsMixin.SensitiveDataConfigurationProperty.Builder detectionMode(String detectionMode) Sets the value ofCfnDataAutomationProjectPropsMixin.SensitiveDataConfigurationProperty.getDetectionMode()- Parameters:
detectionMode- Specifies the mode for handling sensitive data detection. Set to DETECTION to only identify sensitive data without modifying content - this produces one output file per detection scope containing detection information with original unredacted content. Set to DETECTION_AND_REDACTION to both identify and mask sensitive data - this produces two output files per detection scope: one unredacted file with detection information and one redacted file with masking applied to sensitive content. For example, if detectionScope includes both STANDARD and CUSTOM with DETECTION_AND_REDACTION mode, four output files will be generated (two for standard output and two for custom output).- Returns:
this
-
detectionScope
@Stability(Stable) public CfnDataAutomationProjectPropsMixin.SensitiveDataConfigurationProperty.Builder detectionScope(List<String> detectionScope) Sets the value ofCfnDataAutomationProjectPropsMixin.SensitiveDataConfigurationProperty.getDetectionScope()- Parameters:
detectionScope- Defines which BDA output types to apply sensitive data detection to. Specify STANDARD to detect sensitive data in standard output, CUSTOM to detect in custom output (blueprint-based extraction), or both to apply detection to both output types. If not specified, defaults to both STANDARD and CUSTOM. The number of output files generated depends on both the detection mode and the scopes selected - each scope specified will produce its own set of output files according to the detection mode configured.- Returns:
this
-
piiEntitiesConfiguration
@Stability(Stable) public CfnDataAutomationProjectPropsMixin.SensitiveDataConfigurationProperty.Builder piiEntitiesConfiguration(IResolvable piiEntitiesConfiguration) Sets the value ofCfnDataAutomationProjectPropsMixin.SensitiveDataConfigurationProperty.getPiiEntitiesConfiguration()- Parameters:
piiEntitiesConfiguration- Configuration for detecting and redacting Personally Identifiable Information (PII) entities.- Returns:
this
-
piiEntitiesConfiguration
@Stability(Stable) public CfnDataAutomationProjectPropsMixin.SensitiveDataConfigurationProperty.Builder piiEntitiesConfiguration(CfnDataAutomationProjectPropsMixin.PIIEntitiesConfigurationProperty piiEntitiesConfiguration) Sets the value ofCfnDataAutomationProjectPropsMixin.SensitiveDataConfigurationProperty.getPiiEntitiesConfiguration()- Parameters:
piiEntitiesConfiguration- Configuration for detecting and redacting Personally Identifiable Information (PII) entities.- Returns:
this
-
build
@Stability(Stable) public CfnDataAutomationProjectPropsMixin.SensitiveDataConfigurationProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataAutomationProjectPropsMixin.SensitiveDataConfigurationProperty>- Returns:
- a new instance of
CfnDataAutomationProjectPropsMixin.SensitiveDataConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-