public class CosInfo extends AbstractModel
Constructor and Description |
---|
CosInfo() |
CosInfo(CosInfo 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 |
getBucket()
Get cos 存储桶,格式为BuketName-AppId。例如:test-123456。
|
CosAuthMode |
getCosAuthMode()
Get cos 授权信息,不填默认为公有权限。
|
String |
getPath()
Get cos 路径。
对于写表示目录,例如:/test;
对于读表示文件路径,例如:/test/test.mp4。
|
String |
getRegion()
Get cos 区域值。例如:ap-beijing。
|
void |
setBucket(String Bucket)
Set cos 存储桶,格式为BuketName-AppId。例如:test-123456。
|
void |
setCosAuthMode(CosAuthMode CosAuthMode)
Set cos 授权信息,不填默认为公有权限。
|
void |
setPath(String Path)
Set cos 路径。
对于写表示目录,例如:/test;
对于读表示文件路径,例如:/test/test.mp4。
|
void |
setRegion(String Region)
Set cos 区域值。例如:ap-beijing。
|
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 CosInfo()
public CosInfo(CosInfo source)
public String getRegion()
public void setRegion(String Region)
Region
- cos 区域值。例如:ap-beijing。public String getBucket()
public void setBucket(String Bucket)
Bucket
- cos 存储桶,格式为BuketName-AppId。例如:test-123456。public String getPath()
public void setPath(String Path)
Path
- cos 路径。
对于写表示目录,例如:/test;
对于读表示文件路径,例如:/test/test.mp4。public CosAuthMode getCosAuthMode()
public void setCosAuthMode(CosAuthMode CosAuthMode)
CosAuthMode
- cos 授权信息,不填默认为公有权限。Copyright © 2022. All rights reserved.