public static final class CreateOrUpdateDingTalkRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
CreateOrUpdateDingTalkRequest |
build() |
CreateOrUpdateDingTalkRequest.Builder |
configList(String configList)
The alerts for which you want the chatbot to send notifications.
|
CreateOrUpdateDingTalkRequest.Builder |
dingTalkLang(String dingTalkLang)
The language of the notifications.
|
CreateOrUpdateDingTalkRequest.Builder |
groupIdList(String groupIdList)
The IDs of asset groups for which you want the chatbot to send notifications.
|
CreateOrUpdateDingTalkRequest.Builder |
id(Long id)
The ID of the chatbot.
|
CreateOrUpdateDingTalkRequest.Builder |
intervalTime(Long intervalTime)
The time interval at which the chatbot sends notifications.
|
CreateOrUpdateDingTalkRequest.Builder |
ruleActionName(String ruleActionName)
The name of the chatbot.
|
CreateOrUpdateDingTalkRequest.Builder |
sendUrl(String sendUrl)
The webhook URL.
|
public CreateOrUpdateDingTalkRequest.Builder configList(String configList)
The alerts for which you want the chatbot to send notifications. The value is a JSON array that contains the following fields:
type: the types of alerts. The valid values are listed in the "Additional description of parameters" section in this topic.
configItemList: the list of check items. The value is a JSON array that contains the following fields:
example:For more information about the value of this parameter, see the "Addition description of parameters" section in this topic.
[{"type":"sas_analysis_online-sas-operation-log-sas-event-suspicious","configItemList":[{"key":"item_level","valueList":["all"]},{"key":"event_type","valueList":["all"]}]}]
public CreateOrUpdateDingTalkRequest.Builder dingTalkLang(String dingTalkLang)
The language of the notifications. Valid values:
zh
public CreateOrUpdateDingTalkRequest.Builder groupIdList(String groupIdList)
The IDs of asset groups for which you want the chatbot to send notifications. The value is a JSON array.
example:You can call the DescribeGroupStruct operation to query the IDs of asset groups.
["10417151"]
public CreateOrUpdateDingTalkRequest.Builder id(Long id)
The ID of the chatbot.
example:You can call the DescribeDingTalk operation to query the IDs of chatbots.
1589
public CreateOrUpdateDingTalkRequest.Builder intervalTime(Long intervalTime)
The time interval at which the chatbot sends notifications.
example:The value 0 indicates unlimited.
0
public CreateOrUpdateDingTalkRequest.Builder ruleActionName(String ruleActionName)
The name of the chatbot.
The name of a chatbot must be 2 to 64 characters in length.
This parameter is required.
example:testNotify
public CreateOrUpdateDingTalkRequest.Builder sendUrl(String sendUrl)
The webhook URL.
This parameter is required.
example:public CreateOrUpdateDingTalkRequest build()
Copyright © 2026. All rights reserved.