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