Class BetaVectorStoreListParams.Builder
-
- All Implemented Interfaces:
public final class BetaVectorStoreListParams.Builder
-
-
Constructor Summary
Constructors Constructor Description BetaVectorStoreListParams.Builder()
-
Method Summary
-
-
Method Detail
-
after
final BetaVectorStoreListParams.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 BetaVectorStoreListParams.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 BetaVectorStoreListParams.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 BetaVectorStoreListParams.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.
-
limit
final BetaVectorStoreListParams.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 BetaVectorStoreListParams.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 BetaVectorStoreListParams.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 BetaVectorStoreListParams.Builder order(BetaVectorStoreListParams.Order order)
Sort order by the
created_at
timestamp of the objects.asc
for ascending order anddesc
for descending order.
-
order
final BetaVectorStoreListParams.Builder order(Optional<BetaVectorStoreListParams.Order> order)
Sort order by the
created_at
timestamp of the objects.asc
for ascending order anddesc
for descending order.
-
additionalHeaders
final BetaVectorStoreListParams.Builder additionalHeaders(Headers additionalHeaders)
-
additionalHeaders
final BetaVectorStoreListParams.Builder additionalHeaders(Map<String, Iterable<String>> additionalHeaders)
-
putAdditionalHeader
final BetaVectorStoreListParams.Builder putAdditionalHeader(String name, String value)
-
putAdditionalHeaders
final BetaVectorStoreListParams.Builder putAdditionalHeaders(String name, Iterable<String> values)
-
putAllAdditionalHeaders
final BetaVectorStoreListParams.Builder putAllAdditionalHeaders(Headers additionalHeaders)
-
putAllAdditionalHeaders
final BetaVectorStoreListParams.Builder putAllAdditionalHeaders(Map<String, Iterable<String>> additionalHeaders)
-
replaceAdditionalHeaders
final BetaVectorStoreListParams.Builder replaceAdditionalHeaders(String name, String value)
-
replaceAdditionalHeaders
final BetaVectorStoreListParams.Builder replaceAdditionalHeaders(String name, Iterable<String> values)
-
replaceAllAdditionalHeaders
final BetaVectorStoreListParams.Builder replaceAllAdditionalHeaders(Headers additionalHeaders)
-
replaceAllAdditionalHeaders
final BetaVectorStoreListParams.Builder replaceAllAdditionalHeaders(Map<String, Iterable<String>> additionalHeaders)
-
removeAdditionalHeaders
final BetaVectorStoreListParams.Builder removeAdditionalHeaders(String name)
-
removeAllAdditionalHeaders
final BetaVectorStoreListParams.Builder removeAllAdditionalHeaders(Set<String> names)
-
additionalQueryParams
final BetaVectorStoreListParams.Builder additionalQueryParams(QueryParams additionalQueryParams)
-
additionalQueryParams
final BetaVectorStoreListParams.Builder additionalQueryParams(Map<String, Iterable<String>> additionalQueryParams)
-
putAdditionalQueryParam
final BetaVectorStoreListParams.Builder putAdditionalQueryParam(String key, String value)
-
putAdditionalQueryParams
final BetaVectorStoreListParams.Builder putAdditionalQueryParams(String key, Iterable<String> values)
-
putAllAdditionalQueryParams
final BetaVectorStoreListParams.Builder putAllAdditionalQueryParams(QueryParams additionalQueryParams)
-
putAllAdditionalQueryParams
final BetaVectorStoreListParams.Builder putAllAdditionalQueryParams(Map<String, Iterable<String>> additionalQueryParams)
-
replaceAdditionalQueryParams
final BetaVectorStoreListParams.Builder replaceAdditionalQueryParams(String key, String value)
-
replaceAdditionalQueryParams
final BetaVectorStoreListParams.Builder replaceAdditionalQueryParams(String key, Iterable<String> values)
-
replaceAllAdditionalQueryParams
final BetaVectorStoreListParams.Builder replaceAllAdditionalQueryParams(QueryParams additionalQueryParams)
-
replaceAllAdditionalQueryParams
final BetaVectorStoreListParams.Builder replaceAllAdditionalQueryParams(Map<String, Iterable<String>> additionalQueryParams)
-
removeAdditionalQueryParams
final BetaVectorStoreListParams.Builder removeAdditionalQueryParams(String key)
-
removeAllAdditionalQueryParams
final BetaVectorStoreListParams.Builder removeAllAdditionalQueryParams(Set<String> keys)
-
build
final BetaVectorStoreListParams build()
-
-
-
-