public class CreateTriggerRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| CreateTriggerRequest() | 
| CreateTriggerRequest(CreateTriggerRequest 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 | getCustomArgument()Get 用户自定义参数,仅支持timer触发器 | 
| String | getDescription()Get 触发器描述 | 
| String | getEnable()Get 触发器的初始是能状态 OPEN表示开启 CLOSE表示关闭 | 
| String | getFunctionName()Get 新建触发器绑定的函数名称 | 
| String | getNamespace()Get 函数的命名空间 | 
| String | getQualifier()Get 触发器所生效的版本或别名,建议填写 [$DEFAULT](https://cloud.tencent.com/document/product/583/36149#.E9.BB.98.E8.AE.A4.E5.88.AB.E5.90.8D)方便后续进行版本的灰度发布,默认为 $LATEST。 | 
| String | getTriggerDesc()Get 触发器对应的参数,可见具体[触发器描述说明](https://cloud.tencent.com/document/product/583/39901) | 
| String | getTriggerName()Get 新建触发器名称。如果是定时触发器,名称支持英文字母、数字、连接符和下划线,最长100个字符;如果是cos触发器,需要是对应cos存储桶适用于XML API的访问域名(例如:5401-5ff414-12345.cos.ap-shanghai.myqcloud.com);如果是其他触发器,见具体触发器绑定参数的说明 | 
| String | getType()Get 触发器类型,目前支持 cos 、cls 、 timer、 ckafka、http类型。创建函数 URL 请使用 http 类型,参考[创建函数 URL ](https://cloud.tencent.com/document/product/583/100227#33bbbda4-9131-48a6-ac37-ac62ffe01424)。创建 cls 触发器请参考[CLS 创建投递 SCF 任务](https://cloud.tencent.com/document/product/614/61096)。 | 
| void | setCustomArgument(String CustomArgument)Set 用户自定义参数,仅支持timer触发器 | 
| void | setDescription(String Description)Set 触发器描述 | 
| void | setEnable(String Enable)Set 触发器的初始是能状态 OPEN表示开启 CLOSE表示关闭 | 
| void | setFunctionName(String FunctionName)Set 新建触发器绑定的函数名称 | 
| void | setNamespace(String Namespace)Set 函数的命名空间 | 
| void | setQualifier(String Qualifier)Set 触发器所生效的版本或别名,建议填写 [$DEFAULT](https://cloud.tencent.com/document/product/583/36149#.E9.BB.98.E8.AE.A4.E5.88.AB.E5.90.8D)方便后续进行版本的灰度发布,默认为 $LATEST。 | 
| void | setTriggerDesc(String TriggerDesc)Set 触发器对应的参数,可见具体[触发器描述说明](https://cloud.tencent.com/document/product/583/39901) | 
| void | setTriggerName(String TriggerName)Set 新建触发器名称。如果是定时触发器,名称支持英文字母、数字、连接符和下划线,最长100个字符;如果是cos触发器,需要是对应cos存储桶适用于XML API的访问域名(例如:5401-5ff414-12345.cos.ap-shanghai.myqcloud.com);如果是其他触发器,见具体触发器绑定参数的说明 | 
| void | setType(String Type)Set 触发器类型,目前支持 cos 、cls 、 timer、 ckafka、http类型。创建函数 URL 请使用 http 类型,参考[创建函数 URL ](https://cloud.tencent.com/document/product/583/100227#33bbbda4-9131-48a6-ac37-ac62ffe01424)。创建 cls 触发器请参考[CLS 创建投递 SCF 任务](https://cloud.tencent.com/document/product/614/61096)。 | 
| 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 CreateTriggerRequest()
public CreateTriggerRequest(CreateTriggerRequest source)
public String getFunctionName()
public void setFunctionName(String FunctionName)
FunctionName - 新建触发器绑定的函数名称public String getTriggerName()
public void setTriggerName(String TriggerName)
TriggerName - 新建触发器名称。如果是定时触发器,名称支持英文字母、数字、连接符和下划线,最长100个字符;如果是cos触发器,需要是对应cos存储桶适用于XML API的访问域名(例如:5401-5ff414-12345.cos.ap-shanghai.myqcloud.com);如果是其他触发器,见具体触发器绑定参数的说明public String getType()
public void setType(String Type)
Type - 触发器类型,目前支持 cos 、cls 、 timer、 ckafka、http类型。创建函数 URL 请使用 http 类型,参考[创建函数 URL ](https://cloud.tencent.com/document/product/583/100227#33bbbda4-9131-48a6-ac37-ac62ffe01424)。创建 cls 触发器请参考[CLS 创建投递 SCF 任务](https://cloud.tencent.com/document/product/614/61096)。public String getTriggerDesc()
public void setTriggerDesc(String TriggerDesc)
TriggerDesc - 触发器对应的参数,可见具体[触发器描述说明](https://cloud.tencent.com/document/product/583/39901)public String getNamespace()
public void setNamespace(String Namespace)
Namespace - 函数的命名空间public String getQualifier()
public void setQualifier(String Qualifier)
Qualifier - 触发器所生效的版本或别名,建议填写 [$DEFAULT](https://cloud.tencent.com/document/product/583/36149#.E9.BB.98.E8.AE.A4.E5.88.AB.E5.90.8D)方便后续进行版本的灰度发布,默认为 $LATEST。public String getEnable()
public void setEnable(String Enable)
Enable - 触发器的初始是能状态 OPEN表示开启 CLOSE表示关闭public String getCustomArgument()
public void setCustomArgument(String CustomArgument)
CustomArgument - 用户自定义参数,仅支持timer触发器public String getDescription()
public void setDescription(String Description)
Description - 触发器描述Copyright © 2025. All rights reserved.