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