Class BetaVectorStoreFileBatchListFilesParams.Builder
-
- All Implemented Interfaces:
public final class BetaVectorStoreFileBatchListFilesParams.Builder
-
-
Constructor Summary
Constructors Constructor Description BetaVectorStoreFileBatchListFilesParams.Builder()
-
Method Summary
-
-
Method Detail
-
vectorStoreId
final BetaVectorStoreFileBatchListFilesParams.Builder vectorStoreId(String vectorStoreId)
-
batchId
final BetaVectorStoreFileBatchListFilesParams.Builder batchId(String batchId)
-
after
final BetaVectorStoreFileBatchListFilesParams.Builder after(String after)
A cursor for use in pagination.
after
is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list.
-
after
final BetaVectorStoreFileBatchListFilesParams.Builder after(Optional<String> after)
A cursor for use in pagination.
after
is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list.
-
before
final BetaVectorStoreFileBatchListFilesParams.Builder before(String before)
A cursor for use in pagination.
before
is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_foo, your subsequent call can include before=obj_foo in order to fetch the previous page of the list.
-
before
final BetaVectorStoreFileBatchListFilesParams.Builder before(Optional<String> before)
A cursor for use in pagination.
before
is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_foo, your subsequent call can include before=obj_foo in order to fetch the previous page of the list.
-
filter
final BetaVectorStoreFileBatchListFilesParams.Builder filter(BetaVectorStoreFileBatchListFilesParams.Filter filter)
Filter by file status. One of
in_progress
,completed
,failed
,cancelled
.
-
filter
final BetaVectorStoreFileBatchListFilesParams.Builder filter(Optional<BetaVectorStoreFileBatchListFilesParams.Filter> filter)
Filter by file status. One of
in_progress
,completed
,failed
,cancelled
.
-
limit
final BetaVectorStoreFileBatchListFilesParams.Builder limit(Long limit)
A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20.
-
limit
final BetaVectorStoreFileBatchListFilesParams.Builder limit(Long limit)
A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20.
-
limit
final BetaVectorStoreFileBatchListFilesParams.Builder limit(Optional<Long> limit)
A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20.
-
order
final BetaVectorStoreFileBatchListFilesParams.Builder order(BetaVectorStoreFileBatchListFilesParams.Order order)
Sort order by the
created_at
timestamp of the objects.asc
for ascending order anddesc
for descending order.
-
order
final BetaVectorStoreFileBatchListFilesParams.Builder order(Optional<BetaVectorStoreFileBatchListFilesParams.Order> order)
Sort order by the
created_at
timestamp of the objects.asc
for ascending order anddesc
for descending order.
-
additionalHeaders
final BetaVectorStoreFileBatchListFilesParams.Builder additionalHeaders(Headers additionalHeaders)
-
additionalHeaders
final BetaVectorStoreFileBatchListFilesParams.Builder additionalHeaders(Map<String, Iterable<String>> additionalHeaders)
-
putAdditionalHeader
final BetaVectorStoreFileBatchListFilesParams.Builder putAdditionalHeader(String name, String value)
-
putAdditionalHeaders
final BetaVectorStoreFileBatchListFilesParams.Builder putAdditionalHeaders(String name, Iterable<String> values)
-
putAllAdditionalHeaders
final BetaVectorStoreFileBatchListFilesParams.Builder putAllAdditionalHeaders(Headers additionalHeaders)
-
putAllAdditionalHeaders
final BetaVectorStoreFileBatchListFilesParams.Builder putAllAdditionalHeaders(Map<String, Iterable<String>> additionalHeaders)
-
replaceAdditionalHeaders
final BetaVectorStoreFileBatchListFilesParams.Builder replaceAdditionalHeaders(String name, String value)
-
replaceAdditionalHeaders
final BetaVectorStoreFileBatchListFilesParams.Builder replaceAdditionalHeaders(String name, Iterable<String> values)
-
replaceAllAdditionalHeaders
final BetaVectorStoreFileBatchListFilesParams.Builder replaceAllAdditionalHeaders(Headers additionalHeaders)
-
replaceAllAdditionalHeaders
final BetaVectorStoreFileBatchListFilesParams.Builder replaceAllAdditionalHeaders(Map<String, Iterable<String>> additionalHeaders)
-
removeAdditionalHeaders
final BetaVectorStoreFileBatchListFilesParams.Builder removeAdditionalHeaders(String name)
-
removeAllAdditionalHeaders
final BetaVectorStoreFileBatchListFilesParams.Builder removeAllAdditionalHeaders(Set<String> names)
-
additionalQueryParams
final BetaVectorStoreFileBatchListFilesParams.Builder additionalQueryParams(QueryParams additionalQueryParams)
-
additionalQueryParams
final BetaVectorStoreFileBatchListFilesParams.Builder additionalQueryParams(Map<String, Iterable<String>> additionalQueryParams)
-
putAdditionalQueryParam
final BetaVectorStoreFileBatchListFilesParams.Builder putAdditionalQueryParam(String key, String value)
-
putAdditionalQueryParams
final BetaVectorStoreFileBatchListFilesParams.Builder putAdditionalQueryParams(String key, Iterable<String> values)
-
putAllAdditionalQueryParams
final BetaVectorStoreFileBatchListFilesParams.Builder putAllAdditionalQueryParams(QueryParams additionalQueryParams)
-
putAllAdditionalQueryParams
final BetaVectorStoreFileBatchListFilesParams.Builder putAllAdditionalQueryParams(Map<String, Iterable<String>> additionalQueryParams)
-
replaceAdditionalQueryParams
final BetaVectorStoreFileBatchListFilesParams.Builder replaceAdditionalQueryParams(String key, String value)
-
replaceAdditionalQueryParams
final BetaVectorStoreFileBatchListFilesParams.Builder replaceAdditionalQueryParams(String key, Iterable<String> values)
-
replaceAllAdditionalQueryParams
final BetaVectorStoreFileBatchListFilesParams.Builder replaceAllAdditionalQueryParams(QueryParams additionalQueryParams)
-
replaceAllAdditionalQueryParams
final BetaVectorStoreFileBatchListFilesParams.Builder replaceAllAdditionalQueryParams(Map<String, Iterable<String>> additionalQueryParams)
-
removeAdditionalQueryParams
final BetaVectorStoreFileBatchListFilesParams.Builder removeAdditionalQueryParams(String key)
-
removeAllAdditionalQueryParams
final BetaVectorStoreFileBatchListFilesParams.Builder removeAllAdditionalQueryParams(Set<String> keys)
-
build
final BetaVectorStoreFileBatchListFilesParams build()
-
-
-
-