Package com.openai.models.vectorstores
Class VectorStoreSearchPageAsync.Builder
-
- All Implemented Interfaces:
public final class VectorStoreSearchPageAsync.Builder
A builder for VectorStoreSearchPageAsync.
-
-
Method Summary
Modifier and Type Method Description final VectorStoreSearchPageAsync.Builder
service(VectorStoreServiceAsync service)
final VectorStoreSearchPageAsync.Builder
streamHandlerExecutor(Executor streamHandlerExecutor)
final VectorStoreSearchPageAsync.Builder
params(VectorStoreSearchParams params)
The parameters that were used to request this page. final VectorStoreSearchPageAsync.Builder
response(VectorStoreSearchPageResponse response)
The response that this page was parsed from. final VectorStoreSearchPageAsync
build()
Returns an immutable instance of VectorStoreSearchPageAsync. -
-
Method Detail
-
service
final VectorStoreSearchPageAsync.Builder service(VectorStoreServiceAsync service)
-
streamHandlerExecutor
final VectorStoreSearchPageAsync.Builder streamHandlerExecutor(Executor streamHandlerExecutor)
-
params
final VectorStoreSearchPageAsync.Builder params(VectorStoreSearchParams params)
The parameters that were used to request this page.
-
response
final VectorStoreSearchPageAsync.Builder response(VectorStoreSearchPageResponse response)
The response that this page was parsed from.
-
build
final VectorStoreSearchPageAsync build()
Returns an immutable instance of VectorStoreSearchPageAsync.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.service() .streamHandlerExecutor() .params() .response()
-
-
-
-