Class FileCreateParams.Body.Builder
- 
                    
                    - All Implemented Interfaces:
 
 public final class FileCreateParams.Body.BuilderA builder for Body. 
- 
                
                    
                    - 
                                
                            
                                Method Summary- 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        fileIdfinal FileCreateParams.Body.Builder fileId(String fileId) A File ID that the vector store should use. Useful for tools like file_searchthat can access files.
 - 
                                        fileIdfinal FileCreateParams.Body.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. 
 - 
                                        attributesfinal FileCreateParams.Body.Builder attributes(FileCreateParams.Attributes attributes) Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format, and querying for objects via API or the dashboard. Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters, booleans, or numbers. 
 - 
                                        attributesfinal FileCreateParams.Body.Builder attributes(Optional<FileCreateParams.Attributes> attributes) Alias for calling Builder.attributes with attributes.orElse(null).
 - 
                                        attributesfinal FileCreateParams.Body.Builder attributes(JsonField<FileCreateParams.Attributes> attributes) Sets Builder.attributes to an arbitrary JSON value. You should usually call Builder.attributes with a well-typed Attributes value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        chunkingStrategyfinal FileCreateParams.Body.Builder chunkingStrategy(FileChunkingStrategyParam chunkingStrategy) The chunking strategy used to chunk the file(s). If not set, will use the autostrategy. Only applicable iffile_idsis non-empty.
 - 
                                        chunkingStrategyfinal FileCreateParams.Body.Builder chunkingStrategy(JsonField<FileChunkingStrategyParam> chunkingStrategy) Sets Builder.chunkingStrategy to an arbitrary JSON value. You should usually call Builder.chunkingStrategy with a well-typed FileChunkingStrategyParam value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        chunkingStrategyfinal FileCreateParams.Body.Builder chunkingStrategy(AutoFileChunkingStrategyParam auto) Alias for calling chunkingStrategy with FileChunkingStrategyParam.ofAuto(auto).
 - 
                                        chunkingStrategyfinal FileCreateParams.Body.Builder chunkingStrategy(StaticFileChunkingStrategyObjectParam static_) Alias for calling chunkingStrategy with FileChunkingStrategyParam.ofStatic(static_).
 - 
                                        staticChunkingStrategyfinal FileCreateParams.Body.Builder staticChunkingStrategy(StaticFileChunkingStrategy static_) Alias for calling chunkingStrategy with the following: StaticFileChunkingStrategyObjectParam.builder() .static_(static_) .build()
 - 
                                        additionalPropertiesfinal FileCreateParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties) 
 - 
                                        putAdditionalPropertyfinal FileCreateParams.Body.Builder putAdditionalProperty(String key, JsonValue value) 
 - 
                                        putAllAdditionalPropertiesfinal FileCreateParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties) 
 - 
                                        removeAdditionalPropertyfinal FileCreateParams.Body.Builder removeAdditionalProperty(String key) 
 - 
                                        removeAllAdditionalPropertiesfinal FileCreateParams.Body.Builder removeAllAdditionalProperties(Set<String> keys) 
 - 
                                        buildfinal FileCreateParams.Body build() Returns an immutable instance of Body. Further updates to this Builder will not mutate the returned instance. The following fields are required: .fileId()
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-