public class UpdateTriggerStatusRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
UpdateTriggerStatusRequest() |
UpdateTriggerStatusRequest(UpdateTriggerStatusRequest 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 |
getEnable()
Get 触发器的初始是能状态OPEN表示开启 CLOSE表示关闭
|
String |
getFunctionName()
Get 函数名称
|
String |
getNamespace()
Get 函数的命名空间
|
String |
getQualifier()
Get 函数的版本,默认为 $LATEST,建议填写 [$DEFAULT](https://cloud.tencent.com/document/product/583/36149#.E9.BB.98.E8.AE.A4.E5.88.AB.E5.90.8D)方便后续进行版本的灰度发布。
|
String |
getTriggerDesc()
Get 如果更新的触发器类型为 COS 触发器,该字段为必填值,存放 JSON 格式的数据 {"event":"cos:ObjectCreated:*"},数据内容和 SetTrigger 接口中该字段的格式相同;如果更新的触发器类型为定时触发器或 CMQ 触发器,可以不指定该字段
|
String |
getTriggerName()
Get 触发器名称
|
String |
getType()
Get 触发器类型
|
void |
setEnable(String Enable)
Set 触发器的初始是能状态OPEN表示开启 CLOSE表示关闭
|
void |
setFunctionName(String FunctionName)
Set 函数名称
|
void |
setNamespace(String Namespace)
Set 函数的命名空间
|
void |
setQualifier(String Qualifier)
Set 函数的版本,默认为 $LATEST,建议填写 [$DEFAULT](https://cloud.tencent.com/document/product/583/36149#.E9.BB.98.E8.AE.A4.E5.88.AB.E5.90.8D)方便后续进行版本的灰度发布。
|
void |
setTriggerDesc(String TriggerDesc)
Set 如果更新的触发器类型为 COS 触发器,该字段为必填值,存放 JSON 格式的数据 {"event":"cos:ObjectCreated:*"},数据内容和 SetTrigger 接口中该字段的格式相同;如果更新的触发器类型为定时触发器或 CMQ 触发器,可以不指定该字段
|
void |
setTriggerName(String TriggerName)
Set 触发器名称
|
void |
setType(String Type)
Set 触发器类型
|
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, toJsonString
public UpdateTriggerStatusRequest()
public UpdateTriggerStatusRequest(UpdateTriggerStatusRequest source)
public String getEnable()
public void setEnable(String Enable)
Enable
- 触发器的初始是能状态OPEN表示开启 CLOSE表示关闭public String getFunctionName()
public void setFunctionName(String FunctionName)
FunctionName
- 函数名称public String getTriggerName()
public void setTriggerName(String TriggerName)
TriggerName
- 触发器名称public String getType()
public void setType(String Type)
Type
- 触发器类型public String getQualifier()
public void setQualifier(String Qualifier)
Qualifier
- 函数的版本,默认为 $LATEST,建议填写 [$DEFAULT](https://cloud.tencent.com/document/product/583/36149#.E9.BB.98.E8.AE.A4.E5.88.AB.E5.90.8D)方便后续进行版本的灰度发布。public String getNamespace()
public void setNamespace(String Namespace)
Namespace
- 函数的命名空间public String getTriggerDesc()
public void setTriggerDesc(String TriggerDesc)
TriggerDesc
- 如果更新的触发器类型为 COS 触发器,该字段为必填值,存放 JSON 格式的数据 {"event":"cos:ObjectCreated:*"},数据内容和 SetTrigger 接口中该字段的格式相同;如果更新的触发器类型为定时触发器或 CMQ 触发器,可以不指定该字段Copyright © 2024. All rights reserved.