Class MessageCreateParams.Attachment.Builder
- 
                    
                    - All Implemented Interfaces:
 
 public final class MessageCreateParams.Attachment.BuilderA builder for Attachment. 
- 
                
                    
                    - 
                                
                            
                                Method Summary- 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        fileIdfinal MessageCreateParams.Attachment.Builder fileId(String fileId) The ID of the file to attach to the message. 
 - 
                                        fileIdfinal MessageCreateParams.Attachment.Builder fileId(JsonField<String> fileId) Sets Builder.fileId to an arbitrary JSON value. You should usually call Builder.fileId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        toolsfinal MessageCreateParams.Attachment.Builder tools(List<MessageCreateParams.Attachment.Tool> tools) The tools to add this file to. 
 - 
                                        toolsfinal MessageCreateParams.Attachment.Builder tools(JsonField<List<MessageCreateParams.Attachment.Tool>> tools) Sets Builder.tools to an arbitrary JSON value. You should usually call Builder.tools with a well-typed List<Tool>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 - 
                                        addToolfinal MessageCreateParams.Attachment.Builder addTool(MessageCreateParams.Attachment.Tool tool) 
 - 
                                        addToolfinal MessageCreateParams.Attachment.Builder addTool(CodeInterpreterTool codeInterpreter) Alias for calling addTool with Tool.ofCodeInterpreter(codeInterpreter).
 - 
                                        addToolFileSearchfinal MessageCreateParams.Attachment.Builder addToolFileSearch() Alias for calling addTool with Tool.ofFileSearch().
 - 
                                        additionalPropertiesfinal MessageCreateParams.Attachment.Builder additionalProperties(Map<String, JsonValue> additionalProperties) 
 - 
                                        putAdditionalPropertyfinal MessageCreateParams.Attachment.Builder putAdditionalProperty(String key, JsonValue value) 
 - 
                                        putAllAdditionalPropertiesfinal MessageCreateParams.Attachment.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties) 
 - 
                                        removeAdditionalPropertyfinal MessageCreateParams.Attachment.Builder removeAdditionalProperty(String key) 
 - 
                                        removeAllAdditionalPropertiesfinal MessageCreateParams.Attachment.Builder removeAllAdditionalProperties(Set<String> keys) 
 - 
                                        buildfinal MessageCreateParams.Attachment build() Returns an immutable instance of Attachment. Further updates to this Builder will not mutate the returned instance. 
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-