Class PromptAnalyzerCreateParams.Body.Builder
-
- All Implemented Interfaces:
public final class PromptAnalyzerCreateParams.Body.BuilderA builder for Body.
-
-
Method Summary
-
-
Method Detail
-
prompt
final PromptAnalyzerCreateParams.Body.Builder prompt(String prompt)
-
prompt
final PromptAnalyzerCreateParams.Body.Builder prompt(JsonField<String> prompt)
Sets Builder.prompt to an arbitrary JSON value.
You should usually call Builder.prompt with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
model
final PromptAnalyzerCreateParams.Body.Builder model(String model)
-
model
final PromptAnalyzerCreateParams.Body.Builder model(JsonField<String> model)
Sets Builder.model to an arbitrary JSON value.
You should usually call Builder.model with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
output
final PromptAnalyzerCreateParams.Body.Builder output(String output)
-
output
final PromptAnalyzerCreateParams.Body.Builder output(JsonField<String> output)
Sets Builder.output to an arbitrary JSON value.
You should usually call Builder.output with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final PromptAnalyzerCreateParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final PromptAnalyzerCreateParams.Body.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final PromptAnalyzerCreateParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final PromptAnalyzerCreateParams.Body.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final PromptAnalyzerCreateParams.Body.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final PromptAnalyzerCreateParams.Body build()
Returns an immutable instance of Body.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.prompt()
-
-
-
-