Class FineTuningJobEvent.Builder
-
- All Implemented Interfaces:
public final class FineTuningJobEvent.Builder
A builder for FineTuningJobEvent.
-
-
Method Summary
-
-
Method Detail
-
id
final FineTuningJobEvent.Builder id(String id)
The object identifier.
-
id
final FineTuningJobEvent.Builder id(JsonField<String> id)
Sets Builder.id to an arbitrary JSON value.
You should usually call Builder.id with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
createdAt
final FineTuningJobEvent.Builder createdAt(Long createdAt)
The Unix timestamp (in seconds) for when the fine-tuning job was created.
-
createdAt
final FineTuningJobEvent.Builder createdAt(JsonField<Long> createdAt)
Sets Builder.createdAt to an arbitrary JSON value.
You should usually call Builder.createdAt with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
level
final FineTuningJobEvent.Builder level(FineTuningJobEvent.Level level)
The log level of the event.
-
level
final FineTuningJobEvent.Builder level(JsonField<FineTuningJobEvent.Level> level)
Sets Builder.level to an arbitrary JSON value.
You should usually call Builder.level with a well-typed Level value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
message
final FineTuningJobEvent.Builder message(String message)
The message of the event.
-
message
final FineTuningJobEvent.Builder message(JsonField<String> message)
Sets Builder.message to an arbitrary JSON value.
You should usually call Builder.message with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
object_
final FineTuningJobEvent.Builder object_(JsonValue object_)
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("fine_tuning.job.event")
This method is primarily for setting the field to an undocumented or not yet supported value.
-
data
final FineTuningJobEvent.Builder data(JsonValue data)
The data associated with the event.
-
type
final FineTuningJobEvent.Builder type(FineTuningJobEvent.Type type)
The type of event.
-
type
final FineTuningJobEvent.Builder type(JsonField<FineTuningJobEvent.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 FineTuningJobEvent.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final FineTuningJobEvent.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final FineTuningJobEvent.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final FineTuningJobEvent.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final FineTuningJobEvent.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final FineTuningJobEvent build()
Returns an immutable instance of FineTuningJobEvent.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .createdAt() .level() .message()
-
-
-
-