public class CloudStorage extends AbstractModel
Constructor and Description |
---|
CloudStorage() |
CloudStorage(CloudStorage 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 The access_key of the cloud storage account.
|
String |
getBucket()
Get The storage bucket.
|
String[] |
getFileNamePrefix()
Get The bucket to save data, which is an array of strings that can contain letters (a-z and A-Z), numbers (0-9), underscores (_), and hyphens (-).
|
String |
getRegion()
Get The region of cloud storage.
|
String |
getSecretKey()
Get The secret_key of the cloud storage account.
|
Long |
getVendor()
Get The cloud storage provider.
|
void |
setAccessKey(String AccessKey)
Set The access_key of the cloud storage account.
|
void |
setBucket(String Bucket)
Set The storage bucket.
|
void |
setFileNamePrefix(String[] FileNamePrefix)
Set The bucket to save data, which is an array of strings that can contain letters (a-z and A-Z), numbers (0-9), underscores (_), and hyphens (-).
|
void |
setRegion(String Region)
Set The region of cloud storage.
|
void |
setSecretKey(String SecretKey)
Set The secret_key of the cloud storage account.
|
void |
setVendor(Long Vendor)
Set The cloud storage provider.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public CloudStorage()
public CloudStorage(CloudStorage source)
public Long getVendor()
public void setVendor(Long Vendor)
Vendor
- The cloud storage provider.
`0`: Tencent Cloud COS; `1`: AWS storage. Other vendors are not supported currently.public String getRegion()
public void setRegion(String Region)
Region
- The region of cloud storage.public String getBucket()
public void setBucket(String Bucket)
Bucket
- The storage bucket.public String getAccessKey()
public void setAccessKey(String AccessKey)
AccessKey
- The access_key of the cloud storage account.public String getSecretKey()
public void setSecretKey(String SecretKey)
SecretKey
- The secret_key of the cloud storage account.public String[] getFileNamePrefix()
public void setFileNamePrefix(String[] FileNamePrefix)
FileNamePrefix
- The bucket to save data, which is an array of strings that can contain letters (a-z and A-Z), numbers (0-9), underscores (_), and hyphens (-). For example, if the value of this parameter is `["prefix1", "prefix2"]`, the recording file `xxx.m3u8` will be saved as `prefix1/prefix2/TaskId/xxx.m3u8`.Copyright © 2023. All rights reserved.