public class CosSettings extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
CosSettings()  | 
CosSettings(CosSettings 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 Bucket name of COS. 
 | 
String | 
getFileExt()
Get File suffix, only supports `jpg`. 
 | 
String | 
getFileName()
Get User-defined name, supports alphanumeric characters, underscores, and hyphens, with a length between 1 and 32 characters. 
 | 
String | 
getFilePath()
Get File output path, which can be empty. 
 | 
String | 
getRegion()
Get Region of COS. 
 | 
String | 
getTimeFormat()
Get Support `unix` or `utc0`, default unix. 
 | 
void | 
setBucket(String Bucket)
Set Bucket name of COS. 
 | 
void | 
setFileExt(String FileExt)
Set File suffix, only supports `jpg`. 
 | 
void | 
setFileName(String FileName)
Set User-defined name, supports alphanumeric characters, underscores, and hyphens, with a length between 1 and 32 characters. 
 | 
void | 
setFilePath(String FilePath)
Set File output path, which can be empty. 
 | 
void | 
setRegion(String Region)
Set Region of COS. 
 | 
void | 
setTimeFormat(String TimeFormat)
Set Support `unix` or `utc0`, default unix. 
 | 
void | 
toMap(HashMap<String,String> map,
     String prefix)
Internal implementation, normal users should not use it. 
 | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic CosSettings()
public CosSettings(CosSettings source)
public String getRegion()
public void setRegion(String Region)
Region - Region of COS.public String getBucket()
public void setBucket(String Bucket)
Bucket - Bucket name of COS.public String getFilePath()
public void setFilePath(String FilePath)
FilePath - File output path, which can be empty. If it is not empty, it  ends with /.public String getFileName()
public void setFileName(String FileName)
FileName - User-defined name, supports alphanumeric characters, underscores, and hyphens, with a length between 1 and 32 characters.public String getFileExt()
public void setFileExt(String FileExt)
FileExt - File suffix, only supports `jpg`.public String getTimeFormat()
public void setTimeFormat(String TimeFormat)
TimeFormat - Support `unix` or `utc0`, default unix.Copyright © 2025. All rights reserved.