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