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