| Package | Description |
|---|---|
| com.amazonaws.services.bedrock.model |
| Modifier and Type | Method and Description |
|---|---|
GuardrailWord |
GuardrailWord.clone() |
GuardrailWord |
GuardrailWord.withText(String text)
Text of the word configured for the guardrail to block.
|
| Modifier and Type | Method and Description |
|---|---|
List<GuardrailWord> |
GuardrailWordPolicy.getWords()
A list of words configured for the guardrail.
|
| Modifier and Type | Method and Description |
|---|---|
GuardrailWordPolicy |
GuardrailWordPolicy.withWords(GuardrailWord... words)
A list of words configured for the guardrail.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GuardrailWordPolicy.setWords(Collection<GuardrailWord> words)
A list of words configured for the guardrail.
|
GuardrailWordPolicy |
GuardrailWordPolicy.withWords(Collection<GuardrailWord> words)
A list of words configured for the guardrail.
|
Copyright © 2025. All rights reserved.