Class ThreadListPageAsync.Builder
-
- All Implemented Interfaces:
public final class ThreadListPageAsync.BuilderA builder for ThreadListPageAsync.
-
-
Method Summary
Modifier and Type Method Description final ThreadListPageAsync.Builderservice(ThreadServiceAsync service)final ThreadListPageAsync.BuilderstreamHandlerExecutor(Executor streamHandlerExecutor)final ThreadListPageAsync.Builderparams(ThreadListParams params)The parameters that were used to request this page. final ThreadListPageAsync.Builderresponse(ThreadListPageResponse response)The response that this page was parsed from. final ThreadListPageAsyncbuild()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()
-
-
-
-