| Package | Description |
|---|---|
| com.amazonaws.services.bedrock.model |
| Modifier and Type | Method and Description |
|---|---|
GuardrailTopicConfig |
GuardrailTopicConfig.clone() |
GuardrailTopicConfig |
GuardrailTopicConfig.withDefinition(String definition)
A definition of the topic to deny.
|
GuardrailTopicConfig |
GuardrailTopicConfig.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.
|
GuardrailTopicConfig |
GuardrailTopicConfig.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.
|
GuardrailTopicConfig |
GuardrailTopicConfig.withName(String name)
The name of the topic to deny.
|
GuardrailTopicConfig |
GuardrailTopicConfig.withType(GuardrailTopicType type)
Specifies to deny the topic.
|
GuardrailTopicConfig |
GuardrailTopicConfig.withType(String type)
Specifies to deny the topic.
|
| Modifier and Type | Method and Description |
|---|---|
List<GuardrailTopicConfig> |
GuardrailTopicPolicyConfig.getTopicsConfig()
A list of policies related to topics that the guardrail should deny.
|
| Modifier and Type | Method and Description |
|---|---|
GuardrailTopicPolicyConfig |
GuardrailTopicPolicyConfig.withTopicsConfig(GuardrailTopicConfig... topicsConfig)
A list of policies related to topics that the guardrail should deny.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GuardrailTopicPolicyConfig.setTopicsConfig(Collection<GuardrailTopicConfig> topicsConfig)
A list of policies related to topics that the guardrail should deny.
|
GuardrailTopicPolicyConfig |
GuardrailTopicPolicyConfig.withTopicsConfig(Collection<GuardrailTopicConfig> topicsConfig)
A list of policies related to topics that the guardrail should deny.
|
Copyright © 2024. All rights reserved.