Interface GuardrailSensitiveInformationPolicyConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<GuardrailSensitiveInformationPolicyConfig.Builder,,GuardrailSensitiveInformationPolicyConfig> SdkBuilder<GuardrailSensitiveInformationPolicyConfig.Builder,,GuardrailSensitiveInformationPolicyConfig> SdkPojo
- Enclosing class:
GuardrailSensitiveInformationPolicyConfig
@Mutable
@NotThreadSafe
public static interface GuardrailSensitiveInformationPolicyConfig.Builder
extends SdkPojo, CopyableBuilder<GuardrailSensitiveInformationPolicyConfig.Builder,GuardrailSensitiveInformationPolicyConfig>
-
Method Summary
Modifier and TypeMethodDescriptionpiiEntitiesConfig(Collection<GuardrailPiiEntityConfig> piiEntitiesConfig) A list of PII entities to configure to the guardrail.piiEntitiesConfig(Consumer<GuardrailPiiEntityConfig.Builder>... piiEntitiesConfig) A list of PII entities to configure to the guardrail.piiEntitiesConfig(GuardrailPiiEntityConfig... piiEntitiesConfig) A list of PII entities to configure to the guardrail.regexesConfig(Collection<GuardrailRegexConfig> regexesConfig) A list of regular expressions to configure to the guardrail.regexesConfig(Consumer<GuardrailRegexConfig.Builder>... regexesConfig) A list of regular expressions to configure to the guardrail.regexesConfig(GuardrailRegexConfig... regexesConfig) A list of regular expressions to configure to the guardrail.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
-
piiEntitiesConfig
GuardrailSensitiveInformationPolicyConfig.Builder piiEntitiesConfig(Collection<GuardrailPiiEntityConfig> piiEntitiesConfig) A list of PII entities to configure to the guardrail.
- Parameters:
piiEntitiesConfig- A list of PII entities to configure to the guardrail.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
piiEntitiesConfig
GuardrailSensitiveInformationPolicyConfig.Builder piiEntitiesConfig(GuardrailPiiEntityConfig... piiEntitiesConfig) A list of PII entities to configure to the guardrail.
- Parameters:
piiEntitiesConfig- A list of PII entities to configure to the guardrail.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
piiEntitiesConfig
GuardrailSensitiveInformationPolicyConfig.Builder piiEntitiesConfig(Consumer<GuardrailPiiEntityConfig.Builder>... piiEntitiesConfig) A list of PII entities to configure to the guardrail.
This is a convenience method that creates an instance of theGuardrailPiiEntityConfig.Builderavoiding the need to create one manually viaGuardrailPiiEntityConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topiiEntitiesConfig(List<GuardrailPiiEntityConfig>).- Parameters:
piiEntitiesConfig- a consumer that will call methods onGuardrailPiiEntityConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
regexesConfig
GuardrailSensitiveInformationPolicyConfig.Builder regexesConfig(Collection<GuardrailRegexConfig> regexesConfig) A list of regular expressions to configure to the guardrail.
- Parameters:
regexesConfig- A list of regular expressions to configure to the guardrail.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regexesConfig
GuardrailSensitiveInformationPolicyConfig.Builder regexesConfig(GuardrailRegexConfig... regexesConfig) A list of regular expressions to configure to the guardrail.
- Parameters:
regexesConfig- A list of regular expressions to configure to the guardrail.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regexesConfig
GuardrailSensitiveInformationPolicyConfig.Builder regexesConfig(Consumer<GuardrailRegexConfig.Builder>... regexesConfig) A list of regular expressions to configure to the guardrail.
This is a convenience method that creates an instance of theGuardrailRegexConfig.Builderavoiding the need to create one manually viaGuardrailRegexConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toregexesConfig(List<GuardrailRegexConfig>).- Parameters:
regexesConfig- a consumer that will call methods onGuardrailRegexConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-