Class CfnGuardrail.SensitiveInformationPolicyConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrock.CfnGuardrail.SensitiveInformationPolicyConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGuardrail.SensitiveInformationPolicyConfigProperty>
- Enclosing interface:
CfnGuardrail.SensitiveInformationPolicyConfigProperty
@Stability(Stable)
public static final class CfnGuardrail.SensitiveInformationPolicyConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGuardrail.SensitiveInformationPolicyConfigProperty>
A builder for
CfnGuardrail.SensitiveInformationPolicyConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.piiEntitiesConfig(List<? extends Object> piiEntitiesConfig) piiEntitiesConfig(IResolvable piiEntitiesConfig) regexesConfig(List<? extends Object> regexesConfig) Sets the value ofCfnGuardrail.SensitiveInformationPolicyConfigProperty.getRegexesConfig()regexesConfig(IResolvable regexesConfig) Sets the value ofCfnGuardrail.SensitiveInformationPolicyConfigProperty.getRegexesConfig()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
piiEntitiesConfig
@Stability(Stable) public CfnGuardrail.SensitiveInformationPolicyConfigProperty.Builder piiEntitiesConfig(IResolvable piiEntitiesConfig) - Parameters:
piiEntitiesConfig- A list of PII entities to configure to the guardrail.- Returns:
this
-
piiEntitiesConfig
@Stability(Stable) public CfnGuardrail.SensitiveInformationPolicyConfigProperty.Builder piiEntitiesConfig(List<? extends Object> piiEntitiesConfig) - Parameters:
piiEntitiesConfig- A list of PII entities to configure to the guardrail.- Returns:
this
-
regexesConfig
@Stability(Stable) public CfnGuardrail.SensitiveInformationPolicyConfigProperty.Builder regexesConfig(IResolvable regexesConfig) Sets the value ofCfnGuardrail.SensitiveInformationPolicyConfigProperty.getRegexesConfig()- Parameters:
regexesConfig- A list of regular expressions to configure to the guardrail.- Returns:
this
-
regexesConfig
@Stability(Stable) public CfnGuardrail.SensitiveInformationPolicyConfigProperty.Builder regexesConfig(List<? extends Object> regexesConfig) Sets the value ofCfnGuardrail.SensitiveInformationPolicyConfigProperty.getRegexesConfig()- Parameters:
regexesConfig- A list of regular expressions to configure to the guardrail.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGuardrail.SensitiveInformationPolicyConfigProperty>- Returns:
- a new instance of
CfnGuardrail.SensitiveInformationPolicyConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-