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