AS AgentScopeAPI 手册 / API Reference

Builder

public static class Builder
源码Source io/agentscope/runtime/sandbox/client/fc/FcClientStarter.java:124–201

构建器,用于构建并配置目标实例。位于 io.agentscope.runtime.sandbox.client.fc 包。核心成员包括 FcAccessKeyId、FcAccessKeySecret、FcAccountId、FcRegionId、FcCpu、FcMemory。

A class in io.agentscope.runtime.sandbox.client.fc that deploys, schedules and serves agents. Declared in io.agentscope.runtime.sandbox.client.fc.

方法摘要Method Summary

方法Method说明Description
public Builder FcAccessKeyId(String FcAccessKeyId)
设置Fc 访问键标识。
Performs the fc access key id operation.
public Builder FcAccessKeySecret(String FcAccessKeySecret)
设置Fc 访问键密钥。
Performs the fc access key secret operation.
public Builder FcAccountId(String FcAccountId)
设置该配置项。
Performs the fc account id operation.
public Builder FcRegionId(String FcRegionId)
设置Fc 区域标识。
Performs the fc region id operation.
public Builder FcCpu(float FcCpu)
设置该配置项。
Performs the fc cpu operation.
public Builder FcMemory(int FcMemory)
设置Fc 记忆。
Performs the fc memory operation.
public Builder FcVpcId(String FcVpcId)
设置该配置项。
Performs the fc vpc id operation.
public Builder FcVswitchIds(List<String> FcVswitchIds)
设置该配置项。
Performs the fc vswitch ids operation.
public Builder FcSecurityGroupId(String FcSecurityGroupId)
设置该配置项。
Performs the fc security group id operation.
public Builder FcPrefix(String FcPrefix)
设置该配置项。
Performs the fc prefix operation.
public Builder FcLogProject(String FcLogProject)
设置该配置项。
Performs the fc log project operation.
public Builder FcLogStore(String FcLogStore)
设置Fc 日志存储。
Performs the fc log store operation.
public FcClientStarter build()
构建并返回最终实例。
Creates and returns an instance.

方法详情Method Detail

FcAccessKeyId

public Builder FcAccessKeyId(String FcAccessKeyId)

设置Fc 访问键标识。

Performs the fc access key id operation.

参数Parameters
名称Name类型Type说明Description
FcAccessKeyIdStringFc 访问键标识(类型 `String`)。The fc access key id.
返回Returns Builder
返回当前实例,以支持链式调用。Returns the current instance for chaining.
源码Source io/agentscope/runtime/sandbox/client/fc/FcClientStarter.java:138–141

FcAccessKeySecret

public Builder FcAccessKeySecret(String FcAccessKeySecret)

设置Fc 访问键密钥。

Performs the fc access key secret operation.

参数Parameters
名称Name类型Type说明Description
FcAccessKeySecretStringFc 访问键密钥(类型 `String`)。The fc access key secret.
返回Returns Builder
返回当前实例,以支持链式调用。Returns the current instance for chaining.
源码Source io/agentscope/runtime/sandbox/client/fc/FcClientStarter.java:143–146

FcAccountId

public Builder FcAccountId(String FcAccountId)

设置该配置项。

Performs the fc account id operation.

参数Parameters
名称Name类型Type说明Description
FcAccountIdStringFc Account 标识(类型 `String`)。The fc account id.
返回Returns Builder
返回当前实例,以支持链式调用。Returns the current instance for chaining.
源码Source io/agentscope/runtime/sandbox/client/fc/FcClientStarter.java:148–151

FcRegionId

public Builder FcRegionId(String FcRegionId)

设置Fc 区域标识。

Performs the fc region id operation.

参数Parameters
名称Name类型Type说明Description
FcRegionIdStringFc 区域标识(类型 `String`)。The fc region id.
返回Returns Builder
返回当前实例,以支持链式调用。Returns the current instance for chaining.
源码Source io/agentscope/runtime/sandbox/client/fc/FcClientStarter.java:153–156

FcCpu

public Builder FcCpu(float FcCpu)

设置该配置项。

Performs the fc cpu operation.

参数Parameters
名称Name类型Type说明Description
FcCpufloatFc Cpu(类型 `float`)。The fc cpu.
返回Returns Builder
返回当前实例,以支持链式调用。Returns the current instance for chaining.
源码Source io/agentscope/runtime/sandbox/client/fc/FcClientStarter.java:158–161

FcMemory

public Builder FcMemory(int FcMemory)

设置Fc 记忆。

Performs the fc memory operation.

参数Parameters
名称Name类型Type说明Description
FcMemoryintFc 记忆(类型 `int`)。The fc memory.
返回Returns Builder
返回当前实例,以支持链式调用。Returns the current instance for chaining.
源码Source io/agentscope/runtime/sandbox/client/fc/FcClientStarter.java:163–166

FcVpcId

public Builder FcVpcId(String FcVpcId)

设置该配置项。

Performs the fc vpc id operation.

参数Parameters
名称Name类型Type说明Description
FcVpcIdStringFc Vpc 标识(类型 `String`)。The fc vpc id.
返回Returns Builder
返回当前实例,以支持链式调用。Returns the current instance for chaining.
源码Source io/agentscope/runtime/sandbox/client/fc/FcClientStarter.java:168–171

FcVswitchIds

public Builder FcVswitchIds(List<String> FcVswitchIds)

设置该配置项。

Performs the fc vswitch ids operation.

参数Parameters
名称Name类型Type说明Description
FcVswitchIdsList<String>Fc Vswitch Ids(类型 `List`)。The fc vswitch ids.
返回Returns Builder
返回当前实例,以支持链式调用。Returns the current instance for chaining.
源码Source io/agentscope/runtime/sandbox/client/fc/FcClientStarter.java:173–176

FcSecurityGroupId

public Builder FcSecurityGroupId(String FcSecurityGroupId)

设置该配置项。

Performs the fc security group id operation.

参数Parameters
名称Name类型Type说明Description
FcSecurityGroupIdStringFc Security 组标识(类型 `String`)。The fc security group id.
返回Returns Builder
返回当前实例,以支持链式调用。Returns the current instance for chaining.
源码Source io/agentscope/runtime/sandbox/client/fc/FcClientStarter.java:178–181

FcPrefix

public Builder FcPrefix(String FcPrefix)

设置该配置项。

Performs the fc prefix operation.

参数Parameters
名称Name类型Type说明Description
FcPrefixStringFc Prefix(类型 `String`)。The fc prefix.
返回Returns Builder
返回当前实例,以支持链式调用。Returns the current instance for chaining.
源码Source io/agentscope/runtime/sandbox/client/fc/FcClientStarter.java:183–186

FcLogProject

public Builder FcLogProject(String FcLogProject)

设置该配置项。

Performs the fc log project operation.

参数Parameters
名称Name类型Type说明Description
FcLogProjectStringFc 日志 Project(类型 `String`)。The fc log project.
返回Returns Builder
返回当前实例,以支持链式调用。Returns the current instance for chaining.
源码Source io/agentscope/runtime/sandbox/client/fc/FcClientStarter.java:188–191

FcLogStore

public Builder FcLogStore(String FcLogStore)

设置Fc 日志存储。

Performs the fc log store operation.

参数Parameters
名称Name类型Type说明Description
FcLogStoreStringFc 日志存储(类型 `String`)。The fc log store.
返回Returns Builder
返回当前实例,以支持链式调用。Returns the current instance for chaining.
源码Source io/agentscope/runtime/sandbox/client/fc/FcClientStarter.java:193–196

build

public FcClientStarter build()

构建并返回最终实例。

Creates and returns an instance.

返回Returns FcClientStarter
返回FcClientStarter。Returns fc client starter.
源码Source io/agentscope/runtime/sandbox/client/fc/FcClientStarter.java:198–200
基于官方固定版本源码静态生成Generated from pinned official sources · Python 2.0.11 · Java 2.0.4
签名与文档为静态抽取;如有疑问请以源码为准。Signatures and docs are extracted statically; verify against the source when in doubt.