| Package | Description |
|---|---|
| com.amazonaws.services.bedrock.model |
| Modifier and Type | Method and Description |
|---|---|
GuardrailContentFilter |
GuardrailContentFilter.clone() |
GuardrailContentFilter |
GuardrailContentFilter.withInputStrength(GuardrailFilterStrength inputStrength)
The strength of the content filter to apply to prompts.
|
GuardrailContentFilter |
GuardrailContentFilter.withInputStrength(String inputStrength)
The strength of the content filter to apply to prompts.
|
GuardrailContentFilter |
GuardrailContentFilter.withOutputStrength(GuardrailFilterStrength outputStrength)
The strength of the content filter to apply to model responses.
|
GuardrailContentFilter |
GuardrailContentFilter.withOutputStrength(String outputStrength)
The strength of the content filter to apply to model responses.
|
GuardrailContentFilter |
GuardrailContentFilter.withType(GuardrailContentFilterType type)
The harmful category that the content filter is applied to.
|
GuardrailContentFilter |
GuardrailContentFilter.withType(String type)
The harmful category that the content filter is applied to.
|
| Modifier and Type | Method and Description |
|---|---|
List<GuardrailContentFilter> |
GuardrailContentPolicy.getFilters()
Contains the type of the content filter and how strongly it should apply to prompts and model responses.
|
| Modifier and Type | Method and Description |
|---|---|
GuardrailContentPolicy |
GuardrailContentPolicy.withFilters(GuardrailContentFilter... filters)
Contains the type of the content filter and how strongly it should apply to prompts and model responses.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GuardrailContentPolicy.setFilters(Collection<GuardrailContentFilter> filters)
Contains the type of the content filter and how strongly it should apply to prompts and model responses.
|
GuardrailContentPolicy |
GuardrailContentPolicy.withFilters(Collection<GuardrailContentFilter> filters)
Contains the type of the content filter and how strongly it should apply to prompts and model responses.
|
Copyright © 2025. All rights reserved.