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