public class CreateTriggerRequest extends AbstractModel
| 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 Custom argument, supporting only the timer trigger. | 
| String | getEnable()Get Initial enabling status of the trigger. | 
| String | getFunctionName()Get Name of the function bound to the new trigger | 
| String | getNamespace()Get Function namespace | 
| String | getQualifier()Get Function version. | 
| String | getTriggerDesc()Get For parameters of triggers, see [Trigger Description](https://intl.cloud.tencent.com/document/product/583/39901?from_cn_redirect=1) | 
| String | getTriggerName()Get Name of a new trigger. | 
| String | getType()Get Type of trigger. | 
| void | setCustomArgument(String CustomArgument)Set Custom argument, supporting only the timer trigger. | 
| void | setEnable(String Enable)Set Initial enabling status of the trigger. | 
| void | setFunctionName(String FunctionName)Set Name of the function bound to the new trigger | 
| void | setNamespace(String Namespace)Set Function namespace | 
| void | setQualifier(String Qualifier)Set Function version. | 
| void | setTriggerDesc(String TriggerDesc)Set For parameters of triggers, see [Trigger Description](https://intl.cloud.tencent.com/document/product/583/39901?from_cn_redirect=1) | 
| void | setTriggerName(String TriggerName)Set Name of a new trigger. | 
| void | setType(String Type)Set Type of trigger. | 
| 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 CreateTriggerRequest()
public CreateTriggerRequest(CreateTriggerRequest source)
public String getFunctionName()
public void setFunctionName(String FunctionName)
FunctionName - Name of the function bound to the new triggerpublic String getTriggerName()
public void setTriggerName(String TriggerName)
TriggerName - Name of a new trigger. For a timer trigger, the name can contain up to 100 letters, digits, dashes, and underscores; for a COS trigger, it should be an access domain name of the corresponding COS bucket applicable to the XML API (e.g., 5401-5ff414-12345.cos.ap-shanghai.myqcloud.com); for other triggers, please see the descriptions of parameters bound to the specific trigger.public String getType()
public void setType(String Type)
Type - Type of trigger. Values: `cos`, `cmq`, `timer`, `ckafka` and `apigw`. To create a CLS trigger, please refer to [Creating Shipping Task (SCF)](https://intl.cloud.tencent.com/document/product/614/61096?from_cn_redirect=1).public String getTriggerDesc()
public void setTriggerDesc(String TriggerDesc)
TriggerDesc - For parameters of triggers, see [Trigger Description](https://intl.cloud.tencent.com/document/product/583/39901?from_cn_redirect=1)public String getNamespace()
public void setNamespace(String Namespace)
Namespace - Function namespacepublic String getQualifier()
public void setQualifier(String Qualifier)
Qualifier - Function version. It defaults to `$LATEST`. It’s recommended to use `[$DEFAULT](https://intl.cloud.tencent.com/document/product/583/36149?from_cn_redirect=1#.E9.BB.98.E8.AE.A4.E5.88.AB.E5.90.8D)` for canary release.public String getEnable()
public void setEnable(String Enable)
Enable - Initial enabling status of the trigger. `OPEN` indicates enabled, and `CLOSE` indicates disabled.public String getCustomArgument()
public void setCustomArgument(String CustomArgument)
CustomArgument - Custom argument, supporting only the timer trigger.Copyright © 2022. All rights reserved.