Class ChatSessionHistory.Builder
- 
                    
                    - All Implemented Interfaces:
 
 public final class ChatSessionHistory.BuilderA builder for ChatSessionHistory. 
- 
                
                    
                    - 
                                
                            
                                Method Summary- 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        enabledfinal ChatSessionHistory.Builder enabled(Boolean enabled) Indicates if chat history is persisted for the session. 
 - 
                                        enabledfinal ChatSessionHistory.Builder enabled(JsonField<Boolean> enabled) Sets Builder.enabled to an arbitrary JSON value. You should usually call Builder.enabled with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        recentThreadsfinal ChatSessionHistory.Builder recentThreads(Long recentThreads) Number of prior threads surfaced in history views. Defaults to null when all history is retained. 
 - 
                                        recentThreadsfinal ChatSessionHistory.Builder recentThreads(Long recentThreads) Alias for Builder.recentThreads. This unboxed primitive overload exists for backwards compatibility. 
 - 
                                        recentThreadsfinal ChatSessionHistory.Builder recentThreads(Optional<Long> recentThreads) Alias for calling Builder.recentThreads with recentThreads.orElse(null).
 - 
                                        recentThreadsfinal ChatSessionHistory.Builder recentThreads(JsonField<Long> recentThreads) Sets Builder.recentThreads to an arbitrary JSON value. You should usually call Builder.recentThreads with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        additionalPropertiesfinal ChatSessionHistory.Builder additionalProperties(Map<String, JsonValue> additionalProperties) 
 - 
                                        putAdditionalPropertyfinal ChatSessionHistory.Builder putAdditionalProperty(String key, JsonValue value) 
 - 
                                        putAllAdditionalPropertiesfinal ChatSessionHistory.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties) 
 - 
                                        removeAdditionalPropertyfinal ChatSessionHistory.Builder removeAdditionalProperty(String key) 
 - 
                                        removeAllAdditionalPropertiesfinal ChatSessionHistory.Builder removeAllAdditionalProperties(Set<String> keys) 
 - 
                                        buildfinal ChatSessionHistory build() Returns an immutable instance of ChatSessionHistory. Further updates to this Builder will not mutate the returned instance. The following fields are required: .enabled() .recentThreads()
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-