Class VectorStore.Builder
-
- All Implemented Interfaces:
public final class VectorStore.Builder
-
-
Constructor Summary
Constructors Constructor Description VectorStore.Builder()
-
Method Summary
Modifier and Type Method Description final VectorStore.Builderid(String id)The identifier, which can be referenced in API endpoints. final VectorStore.Builderid(JsonField<String> id)The identifier, which can be referenced in API endpoints. final VectorStore.BuildercreatedAt(Long createdAt)The Unix timestamp (in seconds) for when the vector store was created. final VectorStore.BuildercreatedAt(JsonField<Long> createdAt)The Unix timestamp (in seconds) for when the vector store was created. final VectorStore.BuilderfileCounts(VectorStore.FileCounts fileCounts)final VectorStore.BuilderfileCounts(JsonField<VectorStore.FileCounts> fileCounts)final VectorStore.BuilderlastActiveAt(Long lastActiveAt)The Unix timestamp (in seconds) for when the vector store was last active. final VectorStore.BuilderlastActiveAt(Long lastActiveAt)The Unix timestamp (in seconds) for when the vector store was last active. final VectorStore.BuilderlastActiveAt(Optional<Long> lastActiveAt)The Unix timestamp (in seconds) for when the vector store was last active. final VectorStore.BuilderlastActiveAt(JsonField<Long> lastActiveAt)The Unix timestamp (in seconds) for when the vector store was last active. final VectorStore.Buildermetadata(JsonValue metadata)Set of 16 key-value pairs that can be attached to an object. final VectorStore.Buildername(String name)The name of the vector store. final VectorStore.Buildername(JsonField<String> name)The name of the vector store. final VectorStore.Builderobject_(JsonValue object_)The object type, which is always vector_store.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)The status of the vector store, which can be either expired,in_progress, orcompleted.final VectorStore.BuilderusageBytes(Long usageBytes)The total number of bytes used by the files in the vector store. final VectorStore.BuilderusageBytes(JsonField<Long> usageBytes)The total number of bytes used by the files in the vector store. final VectorStore.BuilderexpiresAfter(VectorStore.ExpiresAfter expiresAfter)The expiration policy for a vector store. final VectorStore.BuilderexpiresAfter(JsonField<VectorStore.ExpiresAfter> expiresAfter)The expiration policy for a vector store. final VectorStore.BuilderexpiresAt(Long expiresAt)The Unix timestamp (in seconds) for when the vector store will expire. final VectorStore.BuilderexpiresAt(Long expiresAt)The Unix timestamp (in seconds) for when the vector store will expire. final VectorStore.BuilderexpiresAt(Optional<Long> expiresAt)The Unix timestamp (in seconds) for when the vector store will expire. final VectorStore.BuilderexpiresAt(JsonField<Long> expiresAt)The Unix timestamp (in seconds) for when the vector store will expire. 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()-
-
Method Detail
-
id
final VectorStore.Builder id(String id)
The identifier, which can be referenced in API endpoints.
-
id
final VectorStore.Builder id(JsonField<String> id)
The identifier, which can be referenced in API endpoints.
-
createdAt
final VectorStore.Builder createdAt(Long createdAt)
The Unix timestamp (in seconds) for when the vector store was created.
-
createdAt
final VectorStore.Builder createdAt(JsonField<Long> createdAt)
The Unix timestamp (in seconds) for when the vector store was created.
-
fileCounts
final VectorStore.Builder fileCounts(VectorStore.FileCounts fileCounts)
-
fileCounts
final VectorStore.Builder fileCounts(JsonField<VectorStore.FileCounts> fileCounts)
-
lastActiveAt
final VectorStore.Builder lastActiveAt(Long lastActiveAt)
The Unix timestamp (in seconds) for when the vector store was last active.
-
lastActiveAt
final VectorStore.Builder lastActiveAt(Long lastActiveAt)
The Unix timestamp (in seconds) for when the vector store was last active.
-
lastActiveAt
final VectorStore.Builder lastActiveAt(Optional<Long> lastActiveAt)
The Unix timestamp (in seconds) for when the vector store was last active.
-
lastActiveAt
final VectorStore.Builder lastActiveAt(JsonField<Long> lastActiveAt)
The Unix timestamp (in seconds) for when the vector store was last active.
-
metadata
final VectorStore.Builder metadata(JsonValue 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. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long.
-
name
final VectorStore.Builder name(String name)
The name of the vector store.
-
name
final VectorStore.Builder name(JsonField<String> name)
The name of the vector store.
-
object_
final VectorStore.Builder object_(JsonValue object_)
The object type, which is always
vector_store.
-
status
final 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.
-
status
final VectorStore.Builder status(JsonField<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.
-
usageBytes
final VectorStore.Builder usageBytes(Long usageBytes)
The total number of bytes used by the files in the vector store.
-
usageBytes
final VectorStore.Builder usageBytes(JsonField<Long> usageBytes)
The total number of bytes used by the files in the vector store.
-
expiresAfter
final VectorStore.Builder expiresAfter(VectorStore.ExpiresAfter expiresAfter)
The expiration policy for a vector store.
-
expiresAfter
final VectorStore.Builder expiresAfter(JsonField<VectorStore.ExpiresAfter> expiresAfter)
The expiration policy for a vector store.
-
expiresAt
final VectorStore.Builder expiresAt(Long expiresAt)
The Unix timestamp (in seconds) for when the vector store will expire.
-
expiresAt
final VectorStore.Builder expiresAt(Long expiresAt)
The Unix timestamp (in seconds) for when the vector store will expire.
-
expiresAt
final VectorStore.Builder expiresAt(Optional<Long> expiresAt)
The Unix timestamp (in seconds) for when the vector store will expire.
-
expiresAt
final VectorStore.Builder expiresAt(JsonField<Long> expiresAt)
The Unix timestamp (in seconds) for when the vector store will expire.
-
additionalProperties
final VectorStore.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final VectorStore.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final VectorStore.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final VectorStore.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final VectorStore.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final VectorStore build()
-
-
-
-