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