Interface GuardrailRegexConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<GuardrailRegexConfig.Builder,
,GuardrailRegexConfig> SdkBuilder<GuardrailRegexConfig.Builder,
,GuardrailRegexConfig> SdkPojo
- Enclosing class:
GuardrailRegexConfig
@Mutable
@NotThreadSafe
public static interface GuardrailRegexConfig.Builder
extends SdkPojo, CopyableBuilder<GuardrailRegexConfig.Builder,GuardrailRegexConfig>
-
Method Summary
Modifier and TypeMethodDescriptionThe AI Guardrail action to configure when matching regular expression is detected.The AI Guardrail action to configure when matching regular expression is detected.description
(String description) The description of the regular expression to configure for the AI Guardrail.The name of the regular expression to configure for the AI Guardrail.The regular expression pattern to configure for the AI Guardrail.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, sdkFieldNameToField, sdkFields
-
Method Details
-
name
The name of the regular expression to configure for the AI Guardrail.
- Parameters:
name
- The name of the regular expression to configure for the AI Guardrail.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the regular expression to configure for the AI Guardrail.
- Parameters:
description
- The description of the regular expression to configure for the AI Guardrail.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pattern
The regular expression pattern to configure for the AI Guardrail.
- Parameters:
pattern
- The regular expression pattern to configure for the AI Guardrail.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
action
The AI Guardrail action to configure when matching regular expression is detected.
- Parameters:
action
- The AI Guardrail action to configure when matching regular expression is detected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
action
The AI Guardrail action to configure when matching regular expression is detected.
- Parameters:
action
- The AI Guardrail action to configure when matching regular expression is detected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-