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