| Package | Description |
|---|---|
| com.amazonaws.services.bedrockruntime.model |
| Modifier and Type | Method and Description |
|---|---|
GuardrailUsage |
GuardrailUsage.clone() |
GuardrailUsage |
ApplyGuardrailResult.getUsage()
The usage details in the response from the guardrail.
|
GuardrailUsage |
GuardrailUsage.withContentPolicyUnits(Integer contentPolicyUnits)
The content policy units processed by the guardrail.
|
GuardrailUsage |
GuardrailUsage.withContextualGroundingPolicyUnits(Integer contextualGroundingPolicyUnits)
The contextual grounding policy units processed by the guardrail.
|
GuardrailUsage |
GuardrailUsage.withSensitiveInformationPolicyFreeUnits(Integer sensitiveInformationPolicyFreeUnits)
The sensitive information policy free units processed by the guardrail.
|
GuardrailUsage |
GuardrailUsage.withSensitiveInformationPolicyUnits(Integer sensitiveInformationPolicyUnits)
The sensitive information policy units processed by the guardrail.
|
GuardrailUsage |
GuardrailUsage.withTopicPolicyUnits(Integer topicPolicyUnits)
The topic policy units processed by the guardrail.
|
GuardrailUsage |
GuardrailUsage.withWordPolicyUnits(Integer wordPolicyUnits)
The word policy units processed by the guardrail.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ApplyGuardrailResult.setUsage(GuardrailUsage usage)
The usage details in the response from the guardrail.
|
ApplyGuardrailResult |
ApplyGuardrailResult.withUsage(GuardrailUsage usage)
The usage details in the response from the guardrail.
|
Copyright © 2025. All rights reserved.