Class EvalStringCheckGrader.Builder
-
- All Implemented Interfaces:
public final class EvalStringCheckGrader.Builder
A builder for EvalStringCheckGrader.
-
-
Method Summary
-
-
Method Detail
-
input
final EvalStringCheckGrader.Builder input(String input)
The input text. This may include template strings.
-
input
final EvalStringCheckGrader.Builder input(JsonField<String> input)
Sets Builder.input to an arbitrary JSON value.
You should usually call Builder.input with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
name
final EvalStringCheckGrader.Builder name(String name)
The name of the grader.
-
name
final EvalStringCheckGrader.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.
-
operation
final EvalStringCheckGrader.Builder operation(EvalStringCheckGrader.Operation operation)
The string check operation to perform. One of
eq
,ne
,like
, orilike
.
-
operation
final EvalStringCheckGrader.Builder operation(JsonField<EvalStringCheckGrader.Operation> operation)
Sets Builder.operation to an arbitrary JSON value.
You should usually call Builder.operation with a well-typed Operation value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
reference
final EvalStringCheckGrader.Builder reference(String reference)
The reference text. This may include template strings.
-
reference
final EvalStringCheckGrader.Builder reference(JsonField<String> reference)
Sets Builder.reference to an arbitrary JSON value.
You should usually call Builder.reference with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final EvalStringCheckGrader.Builder type(JsonValue type)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("string_check")
This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final EvalStringCheckGrader.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final EvalStringCheckGrader.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final EvalStringCheckGrader.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final EvalStringCheckGrader.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final EvalStringCheckGrader.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final EvalStringCheckGrader build()
Returns an immutable instance of EvalStringCheckGrader.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.input() .name() .operation() .reference()
-
-
-
-