Class ChatKitThreadUserMessageItem.Builder
- 
                    
                    - All Implemented Interfaces:
 
 public final class ChatKitThreadUserMessageItem.BuilderA builder for ChatKitThreadUserMessageItem. 
- 
                
                    
                    - 
                                
                            
                                Method Summary- 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        idfinal ChatKitThreadUserMessageItem.Builder id(String id) Identifier of the thread item. 
 - 
                                        idfinal ChatKitThreadUserMessageItem.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. 
 - 
                                        attachmentsfinal ChatKitThreadUserMessageItem.Builder attachments(List<ChatKitAttachment> attachments) Attachments associated with the user message. Defaults to an empty list. 
 - 
                                        attachmentsfinal ChatKitThreadUserMessageItem.Builder attachments(JsonField<List<ChatKitAttachment>> attachments) Sets Builder.attachments to an arbitrary JSON value. You should usually call Builder.attachments with a well-typed List<ChatKitAttachment>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 - 
                                        addAttachmentfinal ChatKitThreadUserMessageItem.Builder addAttachment(ChatKitAttachment attachment) Adds a single ChatKitAttachment to attachments. 
 - 
                                        contentfinal ChatKitThreadUserMessageItem.Builder content(List<ChatKitThreadUserMessageItem.Content> content) Ordered content elements supplied by the user. 
 - 
                                        contentfinal ChatKitThreadUserMessageItem.Builder content(JsonField<List<ChatKitThreadUserMessageItem.Content>> content) Sets Builder.content to an arbitrary JSON value. You should usually call Builder.content with a well-typed List<Content>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 - 
                                        addContentfinal ChatKitThreadUserMessageItem.Builder addContent(ChatKitThreadUserMessageItem.Content content) Adds a single Content to Builder.content. 
 - 
                                        addContentfinal ChatKitThreadUserMessageItem.Builder addContent(ChatKitThreadUserMessageItem.Content.InputText inputText) Alias for calling addContent with Content.ofInputText(inputText).
 - 
                                        addContentfinal ChatKitThreadUserMessageItem.Builder addContent(ChatKitThreadUserMessageItem.Content.QuotedText quotedText) Alias for calling addContent with Content.ofQuotedText(quotedText).
 - 
                                        addInputTextContentfinal ChatKitThreadUserMessageItem.Builder addInputTextContent(String text) Alias for calling addContent with the following: Content.InputText.builder() .text(text) .build()
 - 
                                        addQuotedTextContentfinal ChatKitThreadUserMessageItem.Builder addQuotedTextContent(String text) Alias for calling addContent with the following: Content.QuotedText.builder() .text(text) .build()
 - 
                                        createdAtfinal ChatKitThreadUserMessageItem.Builder createdAt(Long createdAt) Unix timestamp (in seconds) for when the item was created. 
 - 
                                        createdAtfinal ChatKitThreadUserMessageItem.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. 
 - 
                                        inferenceOptionsfinal ChatKitThreadUserMessageItem.Builder inferenceOptions(ChatKitThreadUserMessageItem.InferenceOptions inferenceOptions) Inference overrides applied to the message. Defaults to null when unset. 
 - 
                                        inferenceOptionsfinal ChatKitThreadUserMessageItem.Builder inferenceOptions(Optional<ChatKitThreadUserMessageItem.InferenceOptions> inferenceOptions) Alias for calling Builder.inferenceOptions with inferenceOptions.orElse(null).
 - 
                                        inferenceOptionsfinal ChatKitThreadUserMessageItem.Builder inferenceOptions(JsonField<ChatKitThreadUserMessageItem.InferenceOptions> inferenceOptions) Sets Builder.inferenceOptions to an arbitrary JSON value. You should usually call Builder.inferenceOptions with a well-typed InferenceOptions value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        object_final ChatKitThreadUserMessageItem.Builder object_(JsonValue object_) 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("chatkit.thread_item")This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        threadIdfinal ChatKitThreadUserMessageItem.Builder threadId(String threadId) Identifier of the parent thread. 
 - 
                                        threadIdfinal ChatKitThreadUserMessageItem.Builder threadId(JsonField<String> threadId) Sets Builder.threadId to an arbitrary JSON value. You should usually call Builder.threadId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        typefinal ChatKitThreadUserMessageItem.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("chatkit.user_message")This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        additionalPropertiesfinal ChatKitThreadUserMessageItem.Builder additionalProperties(Map<String, JsonValue> additionalProperties) 
 - 
                                        putAdditionalPropertyfinal ChatKitThreadUserMessageItem.Builder putAdditionalProperty(String key, JsonValue value) 
 - 
                                        putAllAdditionalPropertiesfinal ChatKitThreadUserMessageItem.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties) 
 - 
                                        removeAdditionalPropertyfinal ChatKitThreadUserMessageItem.Builder removeAdditionalProperty(String key) 
 - 
                                        removeAllAdditionalPropertiesfinal ChatKitThreadUserMessageItem.Builder removeAllAdditionalProperties(Set<String> keys) 
 - 
                                        buildfinal ChatKitThreadUserMessageItem build() Returns an immutable instance of ChatKitThreadUserMessageItem. Further updates to this Builder will not mutate the returned instance. The following fields are required: .id() .attachments() .content() .createdAt() .inferenceOptions() .threadId()
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-