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