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