Package com.braintrustdata.api.models
Class EvalCreateParams.Score.FunctionId.Builder
-
- All Implemented Interfaces:
public final class EvalCreateParams.Score.FunctionId.BuilderA builder for FunctionId.
-
-
Method Summary
-
-
Method Detail
-
functionId
final EvalCreateParams.Score.FunctionId.Builder functionId(String functionId)
The ID of the function
-
functionId
final EvalCreateParams.Score.FunctionId.Builder functionId(JsonField<String> functionId)
Sets Builder.functionId to an arbitrary JSON value.
You should usually call Builder.functionId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
version
final EvalCreateParams.Score.FunctionId.Builder version(String version)
The version of the function
-
version
final EvalCreateParams.Score.FunctionId.Builder version(JsonField<String> version)
Sets Builder.version to an arbitrary JSON value.
You should usually call Builder.version 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 EvalCreateParams.Score.FunctionId.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final EvalCreateParams.Score.FunctionId.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final EvalCreateParams.Score.FunctionId.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final EvalCreateParams.Score.FunctionId.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final EvalCreateParams.Score.FunctionId.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final EvalCreateParams.Score.FunctionId build()
Returns an immutable instance of FunctionId.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.functionId()
-
-
-
-