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