Package io.agentscope.extensions.cos
Class CosSnapshotSpec
java.lang.Object
io.agentscope.harness.agent.sandbox.snapshot.RemoteSnapshotSpec
io.agentscope.extensions.cos.CosSnapshotSpec
- All Implemented Interfaces:
io.agentscope.harness.agent.sandbox.snapshot.SandboxSnapshotSpec
public class CosSnapshotSpec
extends io.agentscope.harness.agent.sandbox.snapshot.RemoteSnapshotSpec
Convenience
SandboxSnapshotSpec for Tencent Cloud COS snapshot storage.-
Constructor Summary
ConstructorsConstructorDescriptionCosSnapshotSpec(com.qcloud.cos.COSClient cosClient, String bucketName, String keyPrefix) Creates a COS snapshot spec from an existing COS client. -
Method Summary
Methods inherited from class io.agentscope.harness.agent.sandbox.snapshot.RemoteSnapshotSpec
build, getClient
-
Constructor Details
-
CosSnapshotSpec
Creates a COS snapshot spec from an existing COS client.- Parameters:
cosClient- initialized COS clientbucketName- target bucketkeyPrefix- key prefix (optional, may be null/blank)
-