| Package | Description |
|---|---|
| com.amazonaws.services.bedrock.model |
| Modifier and Type | Method and Description |
|---|---|
GuardrailWordConfig |
GuardrailWordConfig.clone() |
GuardrailWordConfig |
GuardrailWordConfig.withText(String text)
Text of the word configured for the guardrail to block.
|
| Modifier and Type | Method and Description |
|---|---|
List<GuardrailWordConfig> |
GuardrailWordPolicyConfig.getWordsConfig()
A list of words to configure for the guardrail.
|
| Modifier and Type | Method and Description |
|---|---|
GuardrailWordPolicyConfig |
GuardrailWordPolicyConfig.withWordsConfig(GuardrailWordConfig... wordsConfig)
A list of words to configure for the guardrail.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GuardrailWordPolicyConfig.setWordsConfig(Collection<GuardrailWordConfig> wordsConfig)
A list of words to configure for the guardrail.
|
GuardrailWordPolicyConfig |
GuardrailWordPolicyConfig.withWordsConfig(Collection<GuardrailWordConfig> wordsConfig)
A list of words to configure for the guardrail.
|
Copyright © 2025. All rights reserved.