Interface GuardrailCustomWord.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<GuardrailCustomWord.Builder,
,GuardrailCustomWord> SdkBuilder<GuardrailCustomWord.Builder,
,GuardrailCustomWord> SdkPojo
- Enclosing class:
GuardrailCustomWord
@Mutable
@NotThreadSafe
public static interface GuardrailCustomWord.Builder
extends SdkPojo, CopyableBuilder<GuardrailCustomWord.Builder,GuardrailCustomWord>
-
Method Summary
Modifier and TypeMethodDescriptionThe action for the custom word.action
(GuardrailWordPolicyAction action) The action for the custom word.Indicates whether custom word content that breaches the guardrail configuration is detected.The match for the custom word.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
-
match
The match for the custom word.
- Parameters:
match
- The match for the custom word.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
action
The action for the custom word.
- Parameters:
action
- The action for the custom word.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
action
The action for the custom word.
- Parameters:
action
- The action for the custom word.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
detected
Indicates whether custom word content that breaches the guardrail configuration is detected.
- Parameters:
detected
- Indicates whether custom word content that breaches the guardrail configuration is detected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-