Builder
public static class Builder
io/agentscope/runtime/sandbox/client/agentrun/AgentRunClientStarter.java:129–206构建器,用于构建并配置目标实例。位于 io.agentscope.runtime.sandbox.client.agentrun 包。核心成员包括 agentRunAccessKeyId、agentRunAccessKeySecret、agentRunAccountId、agentRunRegionId、agentRunCpu、agentRunMemory。
A class in io.agentscope.runtime.sandbox.client.agentrun that deploys, schedules and serves agents. Declared in io.agentscope.runtime.sandbox.client.agentrun.
方法摘要Method Summary
方法详情Method Detail
agentRunAccessKeyId
public Builder agentRunAccessKeyId(String agentRunAccessKeyId)
设置智能体运行访问键标识。
Performs the agent run access key id operation.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
agentRunAccessKeyId | String | 智能体运行访问键标识(类型 `String`)。The agent run access key id. |
Builderio/agentscope/runtime/sandbox/client/agentrun/AgentRunClientStarter.java:143–146agentRunAccessKeySecret
public Builder agentRunAccessKeySecret(String agentRunAccessKeySecret)
设置智能体运行访问键密钥。
Performs the agent run access key secret operation.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
agentRunAccessKeySecret | String | 智能体运行访问键密钥(类型 `String`)。The agent run access key secret. |
Builderio/agentscope/runtime/sandbox/client/agentrun/AgentRunClientStarter.java:148–151agentRunAccountId
public Builder agentRunAccountId(String agentRunAccountId)
设置该配置项。
Performs the agent run account id operation.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
agentRunAccountId | String | 智能体运行 Account 标识(类型 `String`)。The agent run account id. |
Builderio/agentscope/runtime/sandbox/client/agentrun/AgentRunClientStarter.java:153–156agentRunRegionId
public Builder agentRunRegionId(String agentRunRegionId)
设置智能体运行区域标识。
Performs the agent run region id operation.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
agentRunRegionId | String | 智能体运行区域标识(类型 `String`)。The agent run region id. |
Builderio/agentscope/runtime/sandbox/client/agentrun/AgentRunClientStarter.java:158–161agentRunCpu
public Builder agentRunCpu(float agentRunCpu)
设置该配置项。
Performs the agent run cpu operation.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
agentRunCpu | float | 智能体运行 Cpu(类型 `float`)。The agent run cpu. |
Builderio/agentscope/runtime/sandbox/client/agentrun/AgentRunClientStarter.java:163–166agentRunMemory
public Builder agentRunMemory(int agentRunMemory)
设置智能体运行记忆。
Performs the agent run memory operation.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
agentRunMemory | int | 智能体运行记忆(类型 `int`)。The agent run memory. |
Builderio/agentscope/runtime/sandbox/client/agentrun/AgentRunClientStarter.java:168–171agentRunVpcId
public Builder agentRunVpcId(String agentRunVpcId)
设置该配置项。
Performs the agent run vpc id operation.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
agentRunVpcId | String | 智能体运行 Vpc 标识(类型 `String`)。The agent run vpc id. |
Builderio/agentscope/runtime/sandbox/client/agentrun/AgentRunClientStarter.java:173–176agentRunVswitchIds
public Builder agentRunVswitchIds(List<String> agentRunVswitchIds)
设置该配置项。
Performs the agent run vswitch ids operation.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
agentRunVswitchIds | List<String> | 智能体运行 Vswitch Ids(类型 `List`)。The agent run vswitch ids. |
Builderio/agentscope/runtime/sandbox/client/agentrun/AgentRunClientStarter.java:178–181agentRunSecurityGroupId
public Builder agentRunSecurityGroupId(String agentRunSecurityGroupId)
设置该配置项。
Performs the agent run security group id operation.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
agentRunSecurityGroupId | String | 智能体运行 Security 组标识(类型 `String`)。The agent run security group id. |
Builderio/agentscope/runtime/sandbox/client/agentrun/AgentRunClientStarter.java:183–186agentRunPrefix
public Builder agentRunPrefix(String agentRunPrefix)
设置该配置项。
Performs the agent run prefix operation.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
agentRunPrefix | String | 智能体运行 Prefix(类型 `String`)。The agent run prefix. |
Builderio/agentscope/runtime/sandbox/client/agentrun/AgentRunClientStarter.java:188–191agentrunLogProject
public Builder agentrunLogProject(String agentrunLogProject)
设置该配置项。
Performs the agentrun log project operation.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
agentrunLogProject | String | agentrun 日志 Project(类型 `String`)。The agentrun log project. |
Builderio/agentscope/runtime/sandbox/client/agentrun/AgentRunClientStarter.java:193–196agentrunLogStore
public Builder agentrunLogStore(String agentrunLogStore)
设置该配置项。
Performs the agentrun log store operation.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
agentrunLogStore | String | agentrun 日志存储(类型 `String`)。The agentrun log store. |
Builderio/agentscope/runtime/sandbox/client/agentrun/AgentRunClientStarter.java:198–201build
public AgentRunClientStarter build()
构建并返回最终实例。
Creates and returns an instance.
AgentRunClientStarterio/agentscope/runtime/sandbox/client/agentrun/AgentRunClientStarter.java:203–205