public class CosFileUploadTrigger extends AbstractModel
header, skipSign
Constructor and Description |
---|
CosFileUploadTrigger() |
CosFileUploadTrigger(CosFileUploadTrigger 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 Name of the COS bucket bound to a workflow, such as `TopRankVideo-125xxx88`.
|
String |
getDir()
Get Input path directory bound to a workflow, such as `/movie/201907/`.
|
String[] |
getFormats()
Get Format list of files that can trigger a workflow, such as ["mp4", "flv", "mov"].
|
String |
getRegion()
Get Region of the COS bucket bound to a workflow, such as `ap-chongiqng`.
|
void |
setBucket(String Bucket)
Set Name of the COS bucket bound to a workflow, such as `TopRankVideo-125xxx88`.
|
void |
setDir(String Dir)
Set Input path directory bound to a workflow, such as `/movie/201907/`.
|
void |
setFormats(String[] Formats)
Set Format list of files that can trigger a workflow, such as ["mp4", "flv", "mov"].
|
void |
setRegion(String Region)
Set Region of the COS bucket bound to a workflow, such as `ap-chongiqng`.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public CosFileUploadTrigger()
public CosFileUploadTrigger(CosFileUploadTrigger source)
public String getBucket()
public void setBucket(String Bucket)
Bucket
- Name of the COS bucket bound to a workflow, such as `TopRankVideo-125xxx88`.public String getRegion()
public void setRegion(String Region)
Region
- Region of the COS bucket bound to a workflow, such as `ap-chongiqng`.public String getDir()
public void setDir(String Dir)
Dir
- Input path directory bound to a workflow, such as `/movie/201907/`. If this parameter is left empty, the `/` root directory will be used.public String[] getFormats()
public void setFormats(String[] Formats)
Formats
- Format list of files that can trigger a workflow, such as ["mp4", "flv", "mov"]. If this parameter is left empty, files in all formats can trigger the workflow.Copyright © 2024. All rights reserved.