Class PromptAnalyzerCreateResponse.Results.Builder
-
- All Implemented Interfaces:
public final class PromptAnalyzerCreateResponse.Results.BuilderA builder for Results.
-
-
Method Summary
-
-
Method Detail
-
guardrailResults
final PromptAnalyzerCreateResponse.Results.Builder guardrailResults(PromptAnalyzerCreateResponse.Results.GuardrailResults guardrailResults)
The guardrail results
-
guardrailResults
final PromptAnalyzerCreateResponse.Results.Builder guardrailResults(JsonField<PromptAnalyzerCreateResponse.Results.GuardrailResults> guardrailResults)
Sets Builder.guardrailResults to an arbitrary JSON value.
You should usually call Builder.guardrailResults with a well-typed GuardrailResults value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
inputBlockListResults
final PromptAnalyzerCreateResponse.Results.Builder inputBlockListResults(PromptAnalyzerCreateResponse.Results.InputBlockListResults inputBlockListResults)
The input block list results
-
inputBlockListResults
final PromptAnalyzerCreateResponse.Results.Builder inputBlockListResults(JsonField<PromptAnalyzerCreateResponse.Results.InputBlockListResults> inputBlockListResults)
Sets Builder.inputBlockListResults to an arbitrary JSON value.
You should usually call Builder.inputBlockListResults with a well-typed InputBlockListResults value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
inputCodeResults
final PromptAnalyzerCreateResponse.Results.Builder inputCodeResults(PromptAnalyzerCreateResponse.Results.InputCodeResults inputCodeResults)
The input code results
-
inputCodeResults
final PromptAnalyzerCreateResponse.Results.Builder inputCodeResults(JsonField<PromptAnalyzerCreateResponse.Results.InputCodeResults> inputCodeResults)
Sets Builder.inputCodeResults to an arbitrary JSON value.
You should usually call Builder.inputCodeResults with a well-typed InputCodeResults value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
inputDosResults
final PromptAnalyzerCreateResponse.Results.Builder inputDosResults(PromptAnalyzerCreateResponse.Results.InputDosResults inputDosResults)
The input denial of service results
-
inputDosResults
final PromptAnalyzerCreateResponse.Results.Builder inputDosResults(JsonField<PromptAnalyzerCreateResponse.Results.InputDosResults> inputDosResults)
Sets Builder.inputDosResults to an arbitrary JSON value.
You should usually call Builder.inputDosResults with a well-typed InputDosResults value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
inputLanguageResults
final PromptAnalyzerCreateResponse.Results.Builder inputLanguageResults(PromptAnalyzerCreateResponse.Results.InputLanguageResults inputLanguageResults)
The input language results
-
inputLanguageResults
final PromptAnalyzerCreateResponse.Results.Builder inputLanguageResults(JsonField<PromptAnalyzerCreateResponse.Results.InputLanguageResults> inputLanguageResults)
Sets Builder.inputLanguageResults to an arbitrary JSON value.
You should usually call Builder.inputLanguageResults with a well-typed InputLanguageResults value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
inputPiiResults
final PromptAnalyzerCreateResponse.Results.Builder inputPiiResults(PromptAnalyzerCreateResponse.Results.InputPiiResults inputPiiResults)
The input personally identifiable information results
-
inputPiiResults
final PromptAnalyzerCreateResponse.Results.Builder inputPiiResults(JsonField<PromptAnalyzerCreateResponse.Results.InputPiiResults> inputPiiResults)
Sets Builder.inputPiiResults to an arbitrary JSON value.
You should usually call Builder.inputPiiResults with a well-typed InputPiiResults value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
inputUrlResults
final PromptAnalyzerCreateResponse.Results.Builder inputUrlResults(PromptAnalyzerCreateResponse.Results.InputUrlResults inputUrlResults)
The input URL results
-
inputUrlResults
final PromptAnalyzerCreateResponse.Results.Builder inputUrlResults(JsonField<PromptAnalyzerCreateResponse.Results.InputUrlResults> inputUrlResults)
Sets Builder.inputUrlResults to an arbitrary JSON value.
You should usually call Builder.inputUrlResults with a well-typed InputUrlResults value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
outputCodeResults
final PromptAnalyzerCreateResponse.Results.Builder outputCodeResults(PromptAnalyzerCreateResponse.Results.OutputCodeResults outputCodeResults)
The output code results
-
outputCodeResults
final PromptAnalyzerCreateResponse.Results.Builder outputCodeResults(JsonField<PromptAnalyzerCreateResponse.Results.OutputCodeResults> outputCodeResults)
Sets Builder.outputCodeResults to an arbitrary JSON value.
You should usually call Builder.outputCodeResults with a well-typed OutputCodeResults value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
outputPiiResults
final PromptAnalyzerCreateResponse.Results.Builder outputPiiResults(PromptAnalyzerCreateResponse.Results.OutputPiiResults outputPiiResults)
The output personally identifiable information results
-
outputPiiResults
final PromptAnalyzerCreateResponse.Results.Builder outputPiiResults(JsonField<PromptAnalyzerCreateResponse.Results.OutputPiiResults> outputPiiResults)
Sets Builder.outputPiiResults to an arbitrary JSON value.
You should usually call Builder.outputPiiResults with a well-typed OutputPiiResults value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
outputUrlResults
final PromptAnalyzerCreateResponse.Results.Builder outputUrlResults(PromptAnalyzerCreateResponse.Results.OutputUrlResults outputUrlResults)
The output URL results
-
outputUrlResults
final PromptAnalyzerCreateResponse.Results.Builder outputUrlResults(JsonField<PromptAnalyzerCreateResponse.Results.OutputUrlResults> outputUrlResults)
Sets Builder.outputUrlResults to an arbitrary JSON value.
You should usually call Builder.outputUrlResults with a well-typed OutputUrlResults value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
promptInjectionClassifierResults
final PromptAnalyzerCreateResponse.Results.Builder promptInjectionClassifierResults(List<PromptAnalyzerCreateResponse.Results.PromptInjectionClassifierResult> promptInjectionClassifierResults)
-
promptInjectionClassifierResults
final PromptAnalyzerCreateResponse.Results.Builder promptInjectionClassifierResults(JsonField<List<PromptAnalyzerCreateResponse.Results.PromptInjectionClassifierResult>> promptInjectionClassifierResults)
Sets Builder.promptInjectionClassifierResults to an arbitrary JSON value.
You should usually call Builder.promptInjectionClassifierResults with a well-typed
List<PromptInjectionClassifierResult>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addPromptInjectionClassifierResult
final PromptAnalyzerCreateResponse.Results.Builder addPromptInjectionClassifierResult(PromptAnalyzerCreateResponse.Results.PromptInjectionClassifierResult promptInjectionClassifierResult)
Adds a single PromptInjectionClassifierResult to promptInjectionClassifierResults.
-
additionalProperties
final PromptAnalyzerCreateResponse.Results.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final PromptAnalyzerCreateResponse.Results.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final PromptAnalyzerCreateResponse.Results.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final PromptAnalyzerCreateResponse.Results.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final PromptAnalyzerCreateResponse.Results.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final PromptAnalyzerCreateResponse.Results build()
Returns an immutable instance of Results.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-