Package com.openai.models.batches
Class BatchListPageAsync.Builder
-
- All Implemented Interfaces:
public final class BatchListPageAsync.BuilderA builder for BatchListPageAsync.
-
-
Method Summary
Modifier and Type Method Description final BatchListPageAsync.Builderservice(BatchServiceAsync service)final BatchListPageAsync.BuilderstreamHandlerExecutor(Executor streamHandlerExecutor)final BatchListPageAsync.Builderparams(BatchListParams params)The parameters that were used to request this page. final BatchListPageAsync.Builderresponse(BatchListPageResponse response)The response that this page was parsed from. final BatchListPageAsyncbuild()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()
-
-
-
-