public class StorageInfo extends AbstractModel
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
BucketInfo |
getBucketInfo()
Get This field indicates the Tencent Cloud bucket information for file access.
Note: when `Type` is `COS`, this field will not be empty. |
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.
Note: when `Type` is `URL`, this field will not be empty. |
void |
setBucketInfo(BucketInfo BucketInfo)
Set This field indicates the Tencent Cloud bucket information for file access.
Note: when `Type` is `COS`, this field will not be empty. |
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.
Note: when `Type` is `URL`, this field will not be empty. |
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 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 © 2023. All rights reserved.