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