public static class ContentModerationGuardrailConfig.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ContentModerationGuardrailConfig |
build() |
ContentModerationGuardrailConfig.Builder |
copy(ContentModerationGuardrailConfig model) |
ContentModerationGuardrailConfig.Builder |
inputGuardrailMode(GuardrailMode inputGuardrailMode)
An input guardrail mode for content moderation.
|
ContentModerationGuardrailConfig.Builder |
outputGuardrailMode(GuardrailMode outputGuardrailMode)
An output guardrail mode for content moderation.
|
public ContentModerationGuardrailConfig.Builder inputGuardrailMode(GuardrailMode inputGuardrailMode)
An input guardrail mode for content moderation.
inputGuardrailMode
- the value to setpublic ContentModerationGuardrailConfig.Builder outputGuardrailMode(GuardrailMode outputGuardrailMode)
An output guardrail mode for content moderation.
outputGuardrailMode
- the value to setpublic ContentModerationGuardrailConfig build()
public ContentModerationGuardrailConfig.Builder copy(ContentModerationGuardrailConfig model)
Copyright © 2016–2025. All rights reserved.