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 Tencent Cloud bucket information
|
String |
getType()
Get Type.
|
String |
getUrl()
Get Resource link
|
void |
setBucketInfo(BucketInfo BucketInfo)
Set Tencent Cloud bucket information
|
void |
setType(String Type)
Set Type.
|
void |
setUrl(String Url)
Set Resource link
|
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 - Type. Values:
`URL`: Resource link
`COS`: Tencent Cloud COSpublic String getUrl()
public void setUrl(String Url)
Url - Resource linkpublic BucketInfo getBucketInfo()
public void setBucketInfo(BucketInfo BucketInfo)
BucketInfo - Tencent Cloud bucket informationCopyright © 2022. All rights reserved.