Class VectorStoreFile.Builder
- 
                    
                    - All Implemented Interfaces:
 
 public final class VectorStoreFile.BuilderA builder for VectorStoreFile. 
- 
                
                    
                    - 
                                
                            
                                Method SummaryModifier and Type Method Description final VectorStoreFile.Builderid(String id)The identifier, which can be referenced in API endpoints. final VectorStoreFile.Builderid(JsonField<String> id)Sets Builder.id to an arbitrary JSON value. final VectorStoreFile.BuildercreatedAt(Long createdAt)The Unix timestamp (in seconds) for when the vector store file was created. final VectorStoreFile.BuildercreatedAt(JsonField<Long> createdAt)Sets Builder.createdAt to an arbitrary JSON value. final VectorStoreFile.BuilderlastError(VectorStoreFile.LastError lastError)The last error associated with this vector store file. final VectorStoreFile.BuilderlastError(Optional<VectorStoreFile.LastError> lastError)Alias for calling Builder.lastError with lastError.orElse(null).final VectorStoreFile.BuilderlastError(JsonField<VectorStoreFile.LastError> lastError)Sets Builder.lastError to an arbitrary JSON value. final VectorStoreFile.Builderobject_(JsonValue object_)Sets the field to an arbitrary JSON value. final VectorStoreFile.Builderstatus(VectorStoreFile.Status status)The status of the vector store file, which can be either in_progress,completed,cancelled, orfailed.final VectorStoreFile.Builderstatus(JsonField<VectorStoreFile.Status> status)Sets Builder.status to an arbitrary JSON value. final VectorStoreFile.BuilderusageBytes(Long usageBytes)The total vector store usage in bytes. final VectorStoreFile.BuilderusageBytes(JsonField<Long> usageBytes)Sets Builder.usageBytes to an arbitrary JSON value. final VectorStoreFile.BuildervectorStoreId(String vectorStoreId)The ID of the vector store that the File is attached to. final VectorStoreFile.BuildervectorStoreId(JsonField<String> vectorStoreId)Sets Builder.vectorStoreId to an arbitrary JSON value. final VectorStoreFile.Builderattributes(VectorStoreFile.Attributes attributes)Set of 16 key-value pairs that can be attached to an object. final VectorStoreFile.Builderattributes(Optional<VectorStoreFile.Attributes> attributes)Alias for calling Builder.attributes with attributes.orElse(null).final VectorStoreFile.Builderattributes(JsonField<VectorStoreFile.Attributes> attributes)Sets Builder.attributes to an arbitrary JSON value. final VectorStoreFile.BuilderchunkingStrategy(FileChunkingStrategy chunkingStrategy)The strategy used to chunk the file. final VectorStoreFile.BuilderchunkingStrategy(JsonField<FileChunkingStrategy> chunkingStrategy)Sets Builder.chunkingStrategy to an arbitrary JSON value. final VectorStoreFile.BuilderchunkingStrategy(StaticFileChunkingStrategyObject static_)Alias for calling chunkingStrategy with FileChunkingStrategy.ofStatic(static_).final VectorStoreFile.BuilderchunkingStrategy(OtherFileChunkingStrategyObject other)Alias for calling chunkingStrategy with FileChunkingStrategy.ofOther(other).final VectorStoreFile.BuilderstaticChunkingStrategy(StaticFileChunkingStrategy static_)Alias for calling chunkingStrategy with the following: StaticFileChunkingStrategyObject.builder() .static_(static_) .build()final VectorStoreFile.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final VectorStoreFile.BuilderputAdditionalProperty(String key, JsonValue value)final VectorStoreFile.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final VectorStoreFile.BuilderremoveAdditionalProperty(String key)final VectorStoreFile.BuilderremoveAllAdditionalProperties(Set<String> keys)final VectorStoreFilebuild()Returns an immutable instance of VectorStoreFile. - 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        idfinal VectorStoreFile.Builder id(String id) The identifier, which can be referenced in API endpoints. 
 - 
                                        idfinal VectorStoreFile.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. 
 - 
                                        createdAtfinal VectorStoreFile.Builder createdAt(Long createdAt) The Unix timestamp (in seconds) for when the vector store file was created. 
 - 
                                        createdAtfinal VectorStoreFile.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. 
 - 
                                        lastErrorfinal VectorStoreFile.Builder lastError(VectorStoreFile.LastError lastError) The last error associated with this vector store file. Will be nullif there are no errors.
 - 
                                        lastErrorfinal VectorStoreFile.Builder lastError(Optional<VectorStoreFile.LastError> lastError) Alias for calling Builder.lastError with lastError.orElse(null).
 - 
                                        lastErrorfinal VectorStoreFile.Builder lastError(JsonField<VectorStoreFile.LastError> lastError) Sets Builder.lastError to an arbitrary JSON value. You should usually call Builder.lastError with a well-typed LastError value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        object_final VectorStoreFile.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("vector_store.file")This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        statusfinal VectorStoreFile.Builder status(VectorStoreFile.Status status) The status of the vector store file, which can be either in_progress,completed,cancelled, orfailed. The statuscompletedindicates that the vector store file is ready for use.
 - 
                                        statusfinal VectorStoreFile.Builder status(JsonField<VectorStoreFile.Status> status) Sets Builder.status to an arbitrary JSON value. You should usually call Builder.status with a well-typed Status value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        usageBytesfinal VectorStoreFile.Builder usageBytes(Long usageBytes) The total vector store usage in bytes. Note that this may be different from the original file size. 
 - 
                                        usageBytesfinal VectorStoreFile.Builder usageBytes(JsonField<Long> usageBytes) Sets Builder.usageBytes to an arbitrary JSON value. You should usually call Builder.usageBytes with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        vectorStoreIdfinal VectorStoreFile.Builder vectorStoreId(String vectorStoreId) The ID of the vector store that the File is attached to. 
 - 
                                        vectorStoreIdfinal VectorStoreFile.Builder vectorStoreId(JsonField<String> vectorStoreId) Sets Builder.vectorStoreId to an arbitrary JSON value. You should usually call Builder.vectorStoreId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        attributesfinal VectorStoreFile.Builder attributes(VectorStoreFile.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 VectorStoreFile.Builder attributes(Optional<VectorStoreFile.Attributes> attributes) Alias for calling Builder.attributes with attributes.orElse(null).
 - 
                                        attributesfinal VectorStoreFile.Builder attributes(JsonField<VectorStoreFile.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 VectorStoreFile.Builder chunkingStrategy(FileChunkingStrategy chunkingStrategy) The strategy used to chunk the file. 
 - 
                                        chunkingStrategyfinal VectorStoreFile.Builder chunkingStrategy(JsonField<FileChunkingStrategy> chunkingStrategy) Sets Builder.chunkingStrategy to an arbitrary JSON value. You should usually call Builder.chunkingStrategy with a well-typed FileChunkingStrategy value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        chunkingStrategyfinal VectorStoreFile.Builder chunkingStrategy(StaticFileChunkingStrategyObject static_) Alias for calling chunkingStrategy with FileChunkingStrategy.ofStatic(static_).
 - 
                                        chunkingStrategyfinal VectorStoreFile.Builder chunkingStrategy(OtherFileChunkingStrategyObject other) Alias for calling chunkingStrategy with FileChunkingStrategy.ofOther(other).
 - 
                                        staticChunkingStrategyfinal VectorStoreFile.Builder staticChunkingStrategy(StaticFileChunkingStrategy static_) Alias for calling chunkingStrategy with the following: StaticFileChunkingStrategyObject.builder() .static_(static_) .build()
 - 
                                        additionalPropertiesfinal VectorStoreFile.Builder additionalProperties(Map<String, JsonValue> additionalProperties) 
 - 
                                        putAdditionalPropertyfinal VectorStoreFile.Builder putAdditionalProperty(String key, JsonValue value) 
 - 
                                        putAllAdditionalPropertiesfinal VectorStoreFile.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties) 
 - 
                                        removeAdditionalPropertyfinal VectorStoreFile.Builder removeAdditionalProperty(String key) 
 - 
                                        removeAllAdditionalPropertiesfinal VectorStoreFile.Builder removeAllAdditionalProperties(Set<String> keys) 
 - 
                                        buildfinal VectorStoreFile build() Returns an immutable instance of VectorStoreFile. Further updates to this Builder will not mutate the returned instance. The following fields are required: .id() .createdAt() .lastError() .status() .usageBytes() .vectorStoreId()
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-