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 Trigger type.
|
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 Trigger type.
|
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 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
- Trigger type. Currently, COS, CMQ, timer, and ckafka triggers are supported.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 versionpublic 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 © 2021. All rights reserved.