Package com.anthropic.models.beta.dreams
Class DreamListPageAsync.Builder
-
- All Implemented Interfaces:
public final class DreamListPageAsync.BuilderA builder for DreamListPageAsync.
-
-
Method Summary
Modifier and Type Method Description final DreamListPageAsync.Builderservice(DreamServiceAsync service)final DreamListPageAsync.BuilderstreamHandlerExecutor(Executor streamHandlerExecutor)final DreamListPageAsync.Builderparams(DreamListParams params)The parameters that were used to request this page. final DreamListPageAsync.Builderresponse(DreamListPageResponse response)The response that this page was parsed from. final DreamListPageAsyncbuild()Returns an immutable instance of DreamListPageAsync. -
-
Method Detail
-
service
final DreamListPageAsync.Builder service(DreamServiceAsync service)
-
streamHandlerExecutor
final DreamListPageAsync.Builder streamHandlerExecutor(Executor streamHandlerExecutor)
-
params
final DreamListPageAsync.Builder params(DreamListParams params)
The parameters that were used to request this page.
-
response
final DreamListPageAsync.Builder response(DreamListPageResponse response)
The response that this page was parsed from.
-
build
final DreamListPageAsync build()
Returns an immutable instance of DreamListPageAsync.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.service() .streamHandlerExecutor() .params() .response()
-
-
-
-