Class ChatCompletionListPageAsync.Builder
-
- All Implemented Interfaces:
public final class ChatCompletionListPageAsync.BuilderA builder for ChatCompletionListPageAsync.
-
-
Method Summary
Modifier and Type Method Description final ChatCompletionListPageAsync.Builderservice(ChatCompletionServiceAsync service)final ChatCompletionListPageAsync.BuilderstreamHandlerExecutor(Executor streamHandlerExecutor)final ChatCompletionListPageAsync.Builderparams(ChatCompletionListParams params)The parameters that were used to request this page. final ChatCompletionListPageAsync.Builderresponse(ChatCompletionListPageResponse response)The response that this page was parsed from. final ChatCompletionListPageAsyncbuild()Returns an immutable instance of ChatCompletionListPageAsync. -
-
Method Detail
-
service
final ChatCompletionListPageAsync.Builder service(ChatCompletionServiceAsync service)
-
streamHandlerExecutor
final ChatCompletionListPageAsync.Builder streamHandlerExecutor(Executor streamHandlerExecutor)
-
params
final ChatCompletionListPageAsync.Builder params(ChatCompletionListParams params)
The parameters that were used to request this page.
-
response
final ChatCompletionListPageAsync.Builder response(ChatCompletionListPageResponse response)
The response that this page was parsed from.
-
build
final ChatCompletionListPageAsync build()
Returns an immutable instance of ChatCompletionListPageAsync.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.service() .streamHandlerExecutor() .params() .response()
-
-
-
-