Class PromptAnalyzerCreateResponse.Categories.Builder
-
- All Implemented Interfaces:
public final class PromptAnalyzerCreateResponse.Categories.BuilderA builder for Categories.
-
-
Method Summary
-
-
Method Detail
-
guardrail
final PromptAnalyzerCreateResponse.Categories.Builder guardrail(Boolean guardrail)
The input activated the upstream guardrails
-
guardrail
final PromptAnalyzerCreateResponse.Categories.Builder guardrail(JsonField<Boolean> guardrail)
Sets Builder.guardrail to an arbitrary JSON value.
You should usually call Builder.guardrail with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
inputCode
final PromptAnalyzerCreateResponse.Categories.Builder inputCode(Boolean inputCode)
The input contains code
-
inputCode
final PromptAnalyzerCreateResponse.Categories.Builder inputCode(JsonField<Boolean> inputCode)
Sets Builder.inputCode to an arbitrary JSON value.
You should usually call Builder.inputCode with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
inputDos
final PromptAnalyzerCreateResponse.Categories.Builder inputDos(Boolean inputDos)
The input contains a denial of service attack
-
inputDos
final PromptAnalyzerCreateResponse.Categories.Builder inputDos(JsonField<Boolean> inputDos)
Sets Builder.inputDos to an arbitrary JSON value.
You should usually call Builder.inputDos with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
inputLanguage
final PromptAnalyzerCreateResponse.Categories.Builder inputLanguage(Boolean inputLanguage)
The input contains a disallowed language
-
inputLanguage
final PromptAnalyzerCreateResponse.Categories.Builder inputLanguage(JsonField<Boolean> inputLanguage)
Sets Builder.inputLanguage to an arbitrary JSON value.
You should usually call Builder.inputLanguage with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
inputPii
final PromptAnalyzerCreateResponse.Categories.Builder inputPii(Boolean inputPii)
The input contains personally identifiable information
-
inputPii
final PromptAnalyzerCreateResponse.Categories.Builder inputPii(JsonField<Boolean> inputPii)
Sets Builder.inputPii to an arbitrary JSON value.
You should usually call Builder.inputPii with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
outputCode
final PromptAnalyzerCreateResponse.Categories.Builder outputCode(Boolean outputCode)
The output contains code
-
outputCode
final PromptAnalyzerCreateResponse.Categories.Builder outputCode(JsonField<Boolean> outputCode)
Sets Builder.outputCode to an arbitrary JSON value.
You should usually call Builder.outputCode with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
outputPii
final PromptAnalyzerCreateResponse.Categories.Builder outputPii(Boolean outputPii)
The output contains personally identifiable information
-
outputPii
final PromptAnalyzerCreateResponse.Categories.Builder outputPii(JsonField<Boolean> outputPii)
Sets Builder.outputPii to an arbitrary JSON value.
You should usually call Builder.outputPii with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
promptInjection
final PromptAnalyzerCreateResponse.Categories.Builder promptInjection(Boolean promptInjection)
The input contains prompt injection
-
promptInjection
final PromptAnalyzerCreateResponse.Categories.Builder promptInjection(JsonField<Boolean> promptInjection)
Sets Builder.promptInjection to an arbitrary JSON value.
You should usually call Builder.promptInjection with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
unsafeInput
final PromptAnalyzerCreateResponse.Categories.Builder unsafeInput(Boolean unsafeInput)
The input is unsafe
-
unsafeInput
final PromptAnalyzerCreateResponse.Categories.Builder unsafeInput(JsonField<Boolean> unsafeInput)
Sets Builder.unsafeInput to an arbitrary JSON value.
You should usually call Builder.unsafeInput with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
unsafeOutput
final PromptAnalyzerCreateResponse.Categories.Builder unsafeOutput(Boolean unsafeOutput)
The output is unsafe
-
unsafeOutput
final PromptAnalyzerCreateResponse.Categories.Builder unsafeOutput(JsonField<Boolean> unsafeOutput)
Sets Builder.unsafeOutput to an arbitrary JSON value.
You should usually call Builder.unsafeOutput with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final PromptAnalyzerCreateResponse.Categories.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final PromptAnalyzerCreateResponse.Categories.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final PromptAnalyzerCreateResponse.Categories.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final PromptAnalyzerCreateResponse.Categories.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final PromptAnalyzerCreateResponse.Categories.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final PromptAnalyzerCreateResponse.Categories build()
Returns an immutable instance of Categories.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-