Package com.braintrustdata.api.models
Class Function.FunctionData.Global.Builder
-
- All Implemented Interfaces:
public final class Function.FunctionData.Global.BuilderA builder for Global.
-
-
Method Summary
-
-
Method Detail
-
name
final Function.FunctionData.Global.Builder name(String name)
-
name
final Function.FunctionData.Global.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.
-
type
final Function.FunctionData.Global.Builder type(Function.FunctionData.Global.Type type)
-
type
final Function.FunctionData.Global.Builder type(JsonField<Function.FunctionData.Global.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 Function.FunctionData.Global.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final Function.FunctionData.Global.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final Function.FunctionData.Global.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final Function.FunctionData.Global.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final Function.FunctionData.Global.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final Function.FunctionData.Global build()
Returns an immutable instance of Global.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.name() .type()
-
-
-
-