Class ChatCompletionListPageAsync.Builder
-
- All Implemented Interfaces:
public final class ChatCompletionListPageAsync.Builder
A builder for ChatCompletionListPageAsync.
-
-
Method Summary
Modifier and Type Method Description final ChatCompletionListPageAsync.Builder
service(ChatCompletionServiceAsync service)
final ChatCompletionListPageAsync.Builder
streamHandlerExecutor(Executor streamHandlerExecutor)
final ChatCompletionListPageAsync.Builder
params(ChatCompletionListParams params)
The parameters that were used to request this page. final ChatCompletionListPageAsync.Builder
response(ChatCompletionListPageResponse response)
The response that this page was parsed from. final ChatCompletionListPageAsync
build()
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()
-
-
-
-