Class PromptAnalyzerCreateResponse.Results.InputBlockListResults.Builder
-
- All Implemented Interfaces:
public final class PromptAnalyzerCreateResponse.Results.InputBlockListResults.BuilderA builder for InputBlockListResults.
-
-
Method Summary
-
-
Method Detail
-
elapsedMs
final PromptAnalyzerCreateResponse.Results.InputBlockListResults.Builder elapsedMs(Double elapsedMs)
The time in milliseconds it took to process the input block list
-
elapsedMs
final PromptAnalyzerCreateResponse.Results.InputBlockListResults.Builder elapsedMs(JsonField<Double> elapsedMs)
Sets Builder.elapsedMs to an arbitrary JSON value.
You should usually call Builder.elapsedMs with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
matches
final PromptAnalyzerCreateResponse.Results.InputBlockListResults.Builder matches(List<String> matches)
-
matches
final PromptAnalyzerCreateResponse.Results.InputBlockListResults.Builder matches(JsonField<List<String>> matches)
Sets Builder.matches to an arbitrary JSON value.
You should usually call Builder.matches with a well-typed
List<String>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addMatch
final PromptAnalyzerCreateResponse.Results.InputBlockListResults.Builder addMatch(String match)
-
verdict
final PromptAnalyzerCreateResponse.Results.InputBlockListResults.Builder verdict(Boolean verdict)
The verdict of the input block list analysis
-
verdict
final PromptAnalyzerCreateResponse.Results.InputBlockListResults.Builder verdict(JsonField<Boolean> verdict)
Sets Builder.verdict to an arbitrary JSON value.
You should usually call Builder.verdict 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.Results.InputBlockListResults.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final PromptAnalyzerCreateResponse.Results.InputBlockListResults.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final PromptAnalyzerCreateResponse.Results.InputBlockListResults.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final PromptAnalyzerCreateResponse.Results.InputBlockListResults.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final PromptAnalyzerCreateResponse.Results.InputBlockListResults.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final PromptAnalyzerCreateResponse.Results.InputBlockListResults build()
Returns an immutable instance of InputBlockListResults.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-