public class CloudSliceStorage extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| CloudSliceStorage() | 
| CloudSliceStorage(CloudSliceStorage source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getAccessKey()Get access_key account information of the cloud storage. | 
| String | getBucket()Get Cloud bucket name. | 
| String[] | getFileNamePrefix()Get Specified location of the cloud bucket, which consists of an array of strings. | 
| String | getRegion()Get [Region information](https://www.tencentcloud.comom/document/product/436/6224?from_cn_redirect=1#.E5.9C.B0.E5.9F.9F) of Tencent COS. | 
| String | getSecretKey()Get secret_key account information of the cloud storage. | 
| Long | getVendor()Get Information about Tencent COS and third-party cloud storage accounts. | 
| void | setAccessKey(String AccessKey)Set access_key account information of the cloud storage. | 
| void | setBucket(String Bucket)Set Cloud bucket name. | 
| void | setFileNamePrefix(String[] FileNamePrefix)Set Specified location of the cloud bucket, which consists of an array of strings. | 
| void | setRegion(String Region)Set [Region information](https://www.tencentcloud.comom/document/product/436/6224?from_cn_redirect=1#.E5.9C.B0.E5.9F.9F) of Tencent COS. | 
| void | setSecretKey(String SecretKey)Set secret_key account information of the cloud storage. | 
| void | setVendor(Long Vendor)Set Information about Tencent COS and third-party cloud storage accounts. | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic CloudSliceStorage()
public CloudSliceStorage(CloudSliceStorage source)
public Long getVendor()
public void setVendor(Long Vendor)
Vendor - Information about Tencent COS and third-party cloud storage accounts.
0: Tencent COS.
1: AWS S3.
2: Alibaba Cloud OSS.
Example value: 0.public String getRegion()
public void setRegion(String Region)
Region - [Region information](https://www.tencentcloud.comom/document/product/436/6224?from_cn_redirect=1#.E5.9C.B0.E5.9F.9F) of Tencent COS.
Example value: cn-shanghai-1.
[Region information](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-regions) of AWS S3.
Example value: ap-southeast-3.public String getBucket()
public void setBucket(String Bucket)
Bucket - Cloud bucket name.public String getAccessKey()
public void setAccessKey(String AccessKey)
AccessKey - access_key account information of the cloud storage.
To store files to Tencent COS, visit https://console.cloud.tencent.com/cam/capi to view or create the SecretId value corresponding to the key fields in the link.
Example value: test-accesskey.public String getSecretKey()
public void setSecretKey(String SecretKey)
SecretKey - secret_key account information of the cloud storage.
To store files to Tencent COS, visit https://console.cloud.tencent.com/cam/capi to view or create the SecretKey value corresponding to the key fields in the link.
Example value: test-secretkey.public String[] getFileNamePrefix()
public void setFileNamePrefix(String[] FileNamePrefix)
FileNamePrefix - Specified location of the cloud bucket, which consists of an array of strings. Value range for the strings is lowercase letters (a–z), uppercase letters (A–Z), digits (0–9), and special characters (_-). For example, under the feature of ["prefix1", "prefix2"], the audio slicing file (xxx.mp3) is stored as prefix1/prefix2/{taskId}/{userId}/audios/{sdkappid}_{roomId}_{userid}_{UTC time}.ogg, while the video frame is stored as prefix1/prefix2/{taskId}/{userId}/images/{sdkappid}_{roomId}_{userid}_{UTC time}.png.Copyright © 2025. All rights reserved.