Class VectorStore.Builder
- 
                    
                    - All Implemented Interfaces:
 
 public final class VectorStore.BuilderA builder for VectorStore. 
- 
                
                    
                    - 
                                
                            
                                Method SummaryModifier and Type Method Description final VectorStore.Builderid(String id)The identifier, which can be referenced in API endpoints. final VectorStore.Builderid(JsonField<String> id)Sets Builder.id to an arbitrary JSON value. final VectorStore.BuildercreatedAt(Long createdAt)The Unix timestamp (in seconds) for when the vector store was created. final VectorStore.BuildercreatedAt(JsonField<Long> createdAt)Sets Builder.createdAt to an arbitrary JSON value. final VectorStore.BuilderfileCounts(VectorStore.FileCounts fileCounts)final VectorStore.BuilderfileCounts(JsonField<VectorStore.FileCounts> fileCounts)Sets Builder.fileCounts to an arbitrary JSON value. final VectorStore.BuilderlastActiveAt(Long lastActiveAt)The Unix timestamp (in seconds) for when the vector store was last active. final VectorStore.BuilderlastActiveAt(Long lastActiveAt)Alias for Builder.lastActiveAt. final VectorStore.BuilderlastActiveAt(Optional<Long> lastActiveAt)Alias for calling Builder.lastActiveAt with lastActiveAt.orElse(null).final VectorStore.BuilderlastActiveAt(JsonField<Long> lastActiveAt)Sets Builder.lastActiveAt to an arbitrary JSON value. final VectorStore.Buildermetadata(VectorStore.Metadata metadata)Set of 16 key-value pairs that can be attached to an object. final VectorStore.Buildermetadata(Optional<VectorStore.Metadata> metadata)Alias for calling Builder.metadata with metadata.orElse(null).final VectorStore.Buildermetadata(JsonField<VectorStore.Metadata> metadata)Sets Builder.metadata to an arbitrary JSON value. final VectorStore.Buildername(String name)The name of the vector store. final VectorStore.Buildername(JsonField<String> name)Sets Builder.name to an arbitrary JSON value. final VectorStore.Builderobject_(JsonValue object_)Sets the field to an arbitrary JSON value. final VectorStore.Builderstatus(VectorStore.Status status)The status of the vector store, which can be either expired,in_progress, orcompleted.final VectorStore.Builderstatus(JsonField<VectorStore.Status> status)Sets Builder.status to an arbitrary JSON value. final VectorStore.BuilderusageBytes(Long usageBytes)The total number of bytes used by the files in the vector store. final VectorStore.BuilderusageBytes(JsonField<Long> usageBytes)Sets Builder.usageBytes to an arbitrary JSON value. final VectorStore.BuilderexpiresAfter(VectorStore.ExpiresAfter expiresAfter)The expiration policy for a vector store. final VectorStore.BuilderexpiresAfter(JsonField<VectorStore.ExpiresAfter> expiresAfter)Sets Builder.expiresAfter to an arbitrary JSON value. final VectorStore.BuilderexpiresAt(Long expiresAt)The Unix timestamp (in seconds) for when the vector store will expire. final VectorStore.BuilderexpiresAt(Long expiresAt)Alias for Builder.expiresAt. final VectorStore.BuilderexpiresAt(Optional<Long> expiresAt)Alias for calling Builder.expiresAt with expiresAt.orElse(null).final VectorStore.BuilderexpiresAt(JsonField<Long> expiresAt)Sets Builder.expiresAt to an arbitrary JSON value. final VectorStore.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final VectorStore.BuilderputAdditionalProperty(String key, JsonValue value)final VectorStore.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final VectorStore.BuilderremoveAdditionalProperty(String key)final VectorStore.BuilderremoveAllAdditionalProperties(Set<String> keys)final VectorStorebuild()Returns an immutable instance of VectorStore. - 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        idfinal VectorStore.Builder id(String id) The identifier, which can be referenced in API endpoints. 
 - 
                                        idfinal VectorStore.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 VectorStore.Builder createdAt(Long createdAt) The Unix timestamp (in seconds) for when the vector store was created. 
 - 
                                        createdAtfinal VectorStore.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. 
 - 
                                        fileCountsfinal VectorStore.Builder fileCounts(VectorStore.FileCounts fileCounts) 
 - 
                                        fileCountsfinal VectorStore.Builder fileCounts(JsonField<VectorStore.FileCounts> fileCounts) Sets Builder.fileCounts to an arbitrary JSON value. You should usually call Builder.fileCounts with a well-typed FileCounts value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        lastActiveAtfinal VectorStore.Builder lastActiveAt(Long lastActiveAt) The Unix timestamp (in seconds) for when the vector store was last active. 
 - 
                                        lastActiveAtfinal VectorStore.Builder lastActiveAt(Long lastActiveAt) Alias for Builder.lastActiveAt. This unboxed primitive overload exists for backwards compatibility. 
 - 
                                        lastActiveAtfinal VectorStore.Builder lastActiveAt(Optional<Long> lastActiveAt) Alias for calling Builder.lastActiveAt with lastActiveAt.orElse(null).
 - 
                                        lastActiveAtfinal VectorStore.Builder lastActiveAt(JsonField<Long> lastActiveAt) Sets Builder.lastActiveAt to an arbitrary JSON value. You should usually call Builder.lastActiveAt with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        metadatafinal VectorStore.Builder metadata(VectorStore.Metadata metadata) 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. 
 - 
                                        metadatafinal VectorStore.Builder metadata(Optional<VectorStore.Metadata> metadata) Alias for calling Builder.metadata with metadata.orElse(null).
 - 
                                        metadatafinal VectorStore.Builder metadata(JsonField<VectorStore.Metadata> metadata) Sets Builder.metadata to an arbitrary JSON value. You should usually call Builder.metadata with a well-typed Metadata value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        namefinal VectorStore.Builder name(String name) The name of the vector store. 
 - 
                                        namefinal VectorStore.Builder name(JsonField<String> name) Sets Builder.name to an arbitrary JSON value. You should usually call Builder.name with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        object_final VectorStore.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")This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        statusfinal VectorStore.Builder status(VectorStore.Status status) The status of the vector store, which can be either expired,in_progress, orcompleted. A status ofcompletedindicates that the vector store is ready for use.
 - 
                                        statusfinal VectorStore.Builder status(JsonField<VectorStore.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 VectorStore.Builder usageBytes(Long usageBytes) The total number of bytes used by the files in the vector store. 
 - 
                                        usageBytesfinal VectorStore.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. 
 - 
                                        expiresAfterfinal VectorStore.Builder expiresAfter(VectorStore.ExpiresAfter expiresAfter) The expiration policy for a vector store. 
 - 
                                        expiresAfterfinal VectorStore.Builder expiresAfter(JsonField<VectorStore.ExpiresAfter> expiresAfter) Sets Builder.expiresAfter to an arbitrary JSON value. You should usually call Builder.expiresAfter with a well-typed ExpiresAfter value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        expiresAtfinal VectorStore.Builder expiresAt(Long expiresAt) The Unix timestamp (in seconds) for when the vector store will expire. 
 - 
                                        expiresAtfinal VectorStore.Builder expiresAt(Long expiresAt) Alias for Builder.expiresAt. This unboxed primitive overload exists for backwards compatibility. 
 - 
                                        expiresAtfinal VectorStore.Builder expiresAt(Optional<Long> expiresAt) Alias for calling Builder.expiresAt with expiresAt.orElse(null).
 - 
                                        expiresAtfinal VectorStore.Builder expiresAt(JsonField<Long> expiresAt) Sets Builder.expiresAt to an arbitrary JSON value. You should usually call Builder.expiresAt with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        additionalPropertiesfinal VectorStore.Builder additionalProperties(Map<String, JsonValue> additionalProperties) 
 - 
                                        putAdditionalPropertyfinal VectorStore.Builder putAdditionalProperty(String key, JsonValue value) 
 - 
                                        putAllAdditionalPropertiesfinal VectorStore.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties) 
 - 
                                        removeAdditionalPropertyfinal VectorStore.Builder removeAdditionalProperty(String key) 
 - 
                                        removeAllAdditionalPropertiesfinal VectorStore.Builder removeAllAdditionalProperties(Set<String> keys) 
 - 
                                        buildfinal VectorStore build() Returns an immutable instance of VectorStore. Further updates to this Builder will not mutate the returned instance. The following fields are required: .id() .createdAt() .fileCounts() .lastActiveAt() .metadata() .name() .status() .usageBytes()
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-