Class ChatSessionWorkflowParam.Builder
- 
                    
                    
- All Implemented Interfaces:
 
public final class ChatSessionWorkflowParam.BuilderA builder for ChatSessionWorkflowParam.
 
- 
                
                    
                    
- 
                                
                            
                                
Method Summary
- 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
id
final ChatSessionWorkflowParam.Builder id(String id)
Identifier for the workflow invoked by the session.
 
- 
                                        
id
final ChatSessionWorkflowParam.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.
 
- 
                                        
stateVariables
final ChatSessionWorkflowParam.Builder stateVariables(ChatSessionWorkflowParam.StateVariables stateVariables)
State variables forwarded to the workflow. Keys may be up to 64 characters, values must be primitive types, and the map defaults to an empty object.
 
- 
                                        
stateVariables
final ChatSessionWorkflowParam.Builder stateVariables(JsonField<ChatSessionWorkflowParam.StateVariables> stateVariables)
Sets Builder.stateVariables to an arbitrary JSON value.
You should usually call Builder.stateVariables with a well-typed StateVariables value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
tracing
final ChatSessionWorkflowParam.Builder tracing(ChatSessionWorkflowParam.Tracing tracing)
Optional tracing overrides for the workflow invocation. When omitted, tracing is enabled by default.
 
- 
                                        
tracing
final ChatSessionWorkflowParam.Builder tracing(JsonField<ChatSessionWorkflowParam.Tracing> tracing)
Sets Builder.tracing to an arbitrary JSON value.
You should usually call Builder.tracing with a well-typed Tracing value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
version
final ChatSessionWorkflowParam.Builder version(String version)
Specific workflow version to run. Defaults to the latest deployed version.
 
- 
                                        
version
final ChatSessionWorkflowParam.Builder version(JsonField<String> version)
Sets Builder.version to an arbitrary JSON value.
You should usually call Builder.version with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
additionalProperties
final ChatSessionWorkflowParam.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
putAdditionalProperty
final ChatSessionWorkflowParam.Builder putAdditionalProperty(String key, JsonValue value)
 
- 
                                        
putAllAdditionalProperties
final ChatSessionWorkflowParam.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
removeAdditionalProperty
final ChatSessionWorkflowParam.Builder removeAdditionalProperty(String key)
 
- 
                                        
removeAllAdditionalProperties
final ChatSessionWorkflowParam.Builder removeAllAdditionalProperties(Set<String> keys)
 
- 
                                        
build
final ChatSessionWorkflowParam build()
Returns an immutable instance of ChatSessionWorkflowParam.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -