Class RunStreamEvent.ThreadRunIncomplete.Builder
-
- All Implemented Interfaces:
public final class RunStreamEvent.ThreadRunIncomplete.Builder
A builder for ThreadRunIncomplete.
-
-
Method Summary
Modifier and Type Method Description final RunStreamEvent.ThreadRunIncomplete.Builder
data(Run data)
Represents an execution run on a thread. final RunStreamEvent.ThreadRunIncomplete.Builder
data(JsonField<Run> data)
Sets Builder.data to an arbitrary JSON value. final RunStreamEvent.ThreadRunIncomplete.Builder
event(JsonValue event)
Sets the field to an arbitrary JSON value. final RunStreamEvent.ThreadRunIncomplete.Builder
additionalProperties(Map<String, JsonValue> additionalProperties)
final RunStreamEvent.ThreadRunIncomplete.Builder
putAdditionalProperty(String key, JsonValue value)
final RunStreamEvent.ThreadRunIncomplete.Builder
putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
final RunStreamEvent.ThreadRunIncomplete.Builder
removeAdditionalProperty(String key)
final RunStreamEvent.ThreadRunIncomplete.Builder
removeAllAdditionalProperties(Set<String> keys)
final RunStreamEvent.ThreadRunIncomplete
build()
Returns an immutable instance of ThreadRunIncomplete. -
-
Method Detail
-
data
final RunStreamEvent.ThreadRunIncomplete.Builder data(Run data)
Represents an execution run on a thread.
-
data
final RunStreamEvent.ThreadRunIncomplete.Builder data(JsonField<Run> data)
Sets Builder.data to an arbitrary JSON value.
You should usually call Builder.data with a well-typed Run value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
event
final RunStreamEvent.ThreadRunIncomplete.Builder event(JsonValue event)
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("thread.run.incomplete")
This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final RunStreamEvent.ThreadRunIncomplete.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final RunStreamEvent.ThreadRunIncomplete.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final RunStreamEvent.ThreadRunIncomplete.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final RunStreamEvent.ThreadRunIncomplete.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final RunStreamEvent.ThreadRunIncomplete.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final RunStreamEvent.ThreadRunIncomplete build()
Returns an immutable instance of ThreadRunIncomplete.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.data()
-
-
-
-