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