Class VectorStoreFileBatch.Builder
-
- All Implemented Interfaces:
public final class VectorStoreFileBatch.Builder
A builder for VectorStoreFileBatch.
-
-
Method Summary
-
-
Method Detail
-
id
final VectorStoreFileBatch.Builder id(String id)
The identifier, which can be referenced in API endpoints.
-
id
final VectorStoreFileBatch.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.
-
createdAt
final VectorStoreFileBatch.Builder createdAt(Long createdAt)
The Unix timestamp (in seconds) for when the vector store files batch was created.
-
createdAt
final VectorStoreFileBatch.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.
-
fileCounts
final VectorStoreFileBatch.Builder fileCounts(VectorStoreFileBatch.FileCounts fileCounts)
-
fileCounts
final VectorStoreFileBatch.Builder fileCounts(JsonField<VectorStoreFileBatch.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.
-
object_
final VectorStoreFileBatch.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.files_batch")
This method is primarily for setting the field to an undocumented or not yet supported value.
-
status
final VectorStoreFileBatch.Builder status(VectorStoreFileBatch.Status status)
The status of the vector store files batch, which can be either
in_progress
,completed
,cancelled
orfailed
.
-
status
final VectorStoreFileBatch.Builder status(JsonField<VectorStoreFileBatch.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.
-
vectorStoreId
final VectorStoreFileBatch.Builder vectorStoreId(String vectorStoreId)
The ID of the vector store that the File is attached to.
-
vectorStoreId
final VectorStoreFileBatch.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.
-
additionalProperties
final VectorStoreFileBatch.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final VectorStoreFileBatch.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final VectorStoreFileBatch.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final VectorStoreFileBatch.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final VectorStoreFileBatch.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final VectorStoreFileBatch build()
Returns an immutable instance of VectorStoreFileBatch.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .createdAt() .fileCounts() .status() .vectorStoreId()
-
-
-
-