public class StorageInfo extends AbstractModel
| 构造器和说明 |
|---|
StorageInfo() |
StorageInfo(StorageInfo 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.
|
| 限定符和类型 | 方法和说明 |
|---|---|
BucketInfo |
getBucketInfo()
Get This field indicates the Tencent Cloud bucket information for file access.
|
String |
getType()
Get This field indicates the file access type.
|
String |
getUrl()
Get This field indicates the link address for file access in standard URL format.
|
void |
setBucketInfo(BucketInfo BucketInfo)
Set This field indicates the Tencent Cloud bucket information for file access.
|
void |
setType(String Type)
Set This field indicates the file access type.
|
void |
setUrl(String Url)
Set This field indicates the link address for file access in standard URL format.
|
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, toJsonStringpublic StorageInfo()
public StorageInfo(StorageInfo source)
public String getType()
public void setType(String Type)
Type - This field indicates the file access type. Valid values: **URL** (resource link), **COS** (Tencent Cloud COS). It should correspond to the access type passed in and can be used for strict verification and quick identification of the access address. If you don't pass in this parameter, the default value will be `URL`, and the system will automatically determine the access address type.public String getUrl()
public void setUrl(String Url)
Url - This field indicates the link address for file access in standard URL format.public BucketInfo getBucketInfo()
public void setBucketInfo(BucketInfo BucketInfo)
BucketInfo - This field indicates the Tencent Cloud bucket information for file access.Copyright © 2022. All rights reserved.