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