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