Class RunStreamEvent.ThreadRunInProgress.Builder
- 
                    
                    
- All Implemented Interfaces:
 
public final class RunStreamEvent.ThreadRunInProgress.BuilderA builder for ThreadRunInProgress.
 
- 
                
                    
                    
- 
                                
                            
                                
Method Summary
Modifier and Type Method Description final RunStreamEvent.ThreadRunInProgress.Builderdata(Run data)Represents an execution run on a thread. final RunStreamEvent.ThreadRunInProgress.Builderdata(JsonField<Run> data)Sets Builder.data to an arbitrary JSON value. final RunStreamEvent.ThreadRunInProgress.Builderevent(JsonValue event)Sets the field to an arbitrary JSON value. final RunStreamEvent.ThreadRunInProgress.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final RunStreamEvent.ThreadRunInProgress.BuilderputAdditionalProperty(String key, JsonValue value)final RunStreamEvent.ThreadRunInProgress.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final RunStreamEvent.ThreadRunInProgress.BuilderremoveAdditionalProperty(String key)final RunStreamEvent.ThreadRunInProgress.BuilderremoveAllAdditionalProperties(Set<String> keys)final RunStreamEvent.ThreadRunInProgressbuild()Returns an immutable instance of ThreadRunInProgress. - 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
data
final RunStreamEvent.ThreadRunInProgress.Builder data(Run data)
Represents an execution run on a thread.
 
- 
                                        
data
final RunStreamEvent.ThreadRunInProgress.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.ThreadRunInProgress.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.in_progress")This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
additionalProperties
final RunStreamEvent.ThreadRunInProgress.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
putAdditionalProperty
final RunStreamEvent.ThreadRunInProgress.Builder putAdditionalProperty(String key, JsonValue value)
 
- 
                                        
putAllAdditionalProperties
final RunStreamEvent.ThreadRunInProgress.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
removeAdditionalProperty
final RunStreamEvent.ThreadRunInProgress.Builder removeAdditionalProperty(String key)
 
- 
                                        
removeAllAdditionalProperties
final RunStreamEvent.ThreadRunInProgress.Builder removeAllAdditionalProperties(Set<String> keys)
 
- 
                                        
build
final RunStreamEvent.ThreadRunInProgress build()
Returns an immutable instance of ThreadRunInProgress.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.data() 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -