Package com.openai.models
Class VectorStoreFileBatch.Builder
-
- All Implemented Interfaces:
public final class VectorStoreFileBatch.Builder
A builder for VectorStoreFileBatch.
-
-
Method Summary
Modifier and Type Method Description final VectorStoreFileBatch.Builder
id(String id)
The identifier, which can be referenced in API endpoints. final VectorStoreFileBatch.Builder
id(JsonField<String> id)
The identifier, which can be referenced in API endpoints. final VectorStoreFileBatch.Builder
createdAt(Long createdAt)
The Unix timestamp (in seconds) for when the vector store files batch was created. final VectorStoreFileBatch.Builder
createdAt(JsonField<Long> createdAt)
The Unix timestamp (in seconds) for when the vector store files batch was created. final VectorStoreFileBatch.Builder
fileCounts(VectorStoreFileBatch.FileCounts fileCounts)
final VectorStoreFileBatch.Builder
fileCounts(JsonField<VectorStoreFileBatch.FileCounts> fileCounts)
final VectorStoreFileBatch.Builder
object_(JsonValue object_)
The object type, which is always vector_store.file_batch
.final VectorStoreFileBatch.Builder
status(VectorStoreFileBatch.Status status)
The status of the vector store files batch, which can be either in_progress
,completed
,cancelled
orfailed
.final VectorStoreFileBatch.Builder
status(JsonField<VectorStoreFileBatch.Status> status)
The status of the vector store files batch, which can be either in_progress
,completed
,cancelled
orfailed
.final VectorStoreFileBatch.Builder
vectorStoreId(String vectorStoreId)
The ID of the vector store that the File is attached to. final VectorStoreFileBatch.Builder
vectorStoreId(JsonField<String> vectorStoreId)
The ID of the vector store that the File is attached to. final VectorStoreFileBatch.Builder
additionalProperties(Map<String, JsonValue> additionalProperties)
final VectorStoreFileBatch.Builder
putAdditionalProperty(String key, JsonValue value)
final VectorStoreFileBatch.Builder
putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
final VectorStoreFileBatch.Builder
removeAdditionalProperty(String key)
final VectorStoreFileBatch.Builder
removeAllAdditionalProperties(Set<String> keys)
final VectorStoreFileBatch
build()
-
-
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)
The identifier, which can be referenced in API endpoints.
-
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)
The Unix timestamp (in seconds) for when the vector store files batch was created.
-
fileCounts
final VectorStoreFileBatch.Builder fileCounts(VectorStoreFileBatch.FileCounts fileCounts)
-
fileCounts
final VectorStoreFileBatch.Builder fileCounts(JsonField<VectorStoreFileBatch.FileCounts> fileCounts)
-
object_
final VectorStoreFileBatch.Builder object_(JsonValue object_)
The object type, which is always
vector_store.file_batch
.
-
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)
The status of the vector store files batch, which can be either
in_progress
,completed
,cancelled
orfailed
.
-
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)
The ID of the vector store that the File is attached to.
-
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()
-
-
-
-