ApplyGuardrailResponse.Builder |
ApplyGuardrailResponse.Builder.action(String action) |
The action taken in the response from the guardrail.
|
ApplyGuardrailResponse.Builder |
ApplyGuardrailResponse.Builder.action(GuardrailAction action) |
The action taken in the response from the guardrail.
|
ApplyGuardrailResponse.Builder |
ApplyGuardrailResponse.Builder.actionReason(String actionReason) |
The reason for the action taken when harmful content is detected.
|
ApplyGuardrailResponse.Builder |
ApplyGuardrailResponse.Builder.assessments(Collection<GuardrailAssessment> assessments) |
The assessment details in the response from the guardrail.
|
ApplyGuardrailResponse.Builder |
ApplyGuardrailResponse.Builder.assessments(Consumer<GuardrailAssessment.Builder>... assessments) |
The assessment details in the response from the guardrail.
|
ApplyGuardrailResponse.Builder |
ApplyGuardrailResponse.Builder.assessments(GuardrailAssessment... assessments) |
The assessment details in the response from the guardrail.
|
static ApplyGuardrailResponse.Builder |
ApplyGuardrailResponse.builder() |
|
default ApplyGuardrailResponse.Builder |
ApplyGuardrailResponse.Builder.guardrailCoverage(Consumer<GuardrailCoverage.Builder> guardrailCoverage) |
The guardrail coverage details in the apply guardrail response.
|
ApplyGuardrailResponse.Builder |
ApplyGuardrailResponse.Builder.guardrailCoverage(GuardrailCoverage guardrailCoverage) |
The guardrail coverage details in the apply guardrail response.
|
ApplyGuardrailResponse.Builder |
ApplyGuardrailResponse.Builder.outputs(Collection<GuardrailOutputContent> outputs) |
The output details in the response from the guardrail.
|
ApplyGuardrailResponse.Builder |
ApplyGuardrailResponse.Builder.outputs(Consumer<GuardrailOutputContent.Builder>... outputs) |
The output details in the response from the guardrail.
|
ApplyGuardrailResponse.Builder |
ApplyGuardrailResponse.Builder.outputs(GuardrailOutputContent... outputs) |
The output details in the response from the guardrail.
|
ApplyGuardrailResponse.Builder |
ApplyGuardrailResponse.toBuilder() |
|
default ApplyGuardrailResponse.Builder |
ApplyGuardrailResponse.Builder.usage(Consumer<GuardrailUsage.Builder> usage) |
The usage details in the response from the guardrail.
|
ApplyGuardrailResponse.Builder |
ApplyGuardrailResponse.Builder.usage(GuardrailUsage usage) |
The usage details in the response from the guardrail.
|