| Package | Description |
|---|---|
| com.amazonaws.services.bedrock.model |
| Modifier and Type | Method and Description |
|---|---|
GuardrailTopic |
GuardrailTopic.clone() |
GuardrailTopic |
GuardrailTopic.withDefinition(String definition)
A definition of the topic to deny.
|
GuardrailTopic |
GuardrailTopic.withExamples(Collection<String> examples)
A list of prompts, each of which is an example of a prompt that can be categorized as belonging to the topic.
|
GuardrailTopic |
GuardrailTopic.withExamples(String... examples)
A list of prompts, each of which is an example of a prompt that can be categorized as belonging to the topic.
|
GuardrailTopic |
GuardrailTopic.withName(String name)
The name of the topic to deny.
|
GuardrailTopic |
GuardrailTopic.withType(GuardrailTopicType type)
Specifies to deny the topic.
|
GuardrailTopic |
GuardrailTopic.withType(String type)
Specifies to deny the topic.
|
| Modifier and Type | Method and Description |
|---|---|
List<GuardrailTopic> |
GuardrailTopicPolicy.getTopics()
A list of policies related to topics that the guardrail should deny.
|
| Modifier and Type | Method and Description |
|---|---|
GuardrailTopicPolicy |
GuardrailTopicPolicy.withTopics(GuardrailTopic... topics)
A list of policies related to topics that the guardrail should deny.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GuardrailTopicPolicy.setTopics(Collection<GuardrailTopic> topics)
A list of policies related to topics that the guardrail should deny.
|
GuardrailTopicPolicy |
GuardrailTopicPolicy.withTopics(Collection<GuardrailTopic> topics)
A list of policies related to topics that the guardrail should deny.
|
Copyright © 2024. All rights reserved.