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