public static final class CreateOrUpdateIMRobotRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
CreateOrUpdateIMRobotRequest |
build() |
CreateOrUpdateIMRobotRequest.Builder |
cardTemplate(String cardTemplate)
The configurations of the alert card template.
|
CreateOrUpdateIMRobotRequest.Builder |
dailyNoc(Boolean dailyNoc)
Specifies whether to send daily statistics.
|
CreateOrUpdateIMRobotRequest.Builder |
dailyNocTime(String dailyNocTime)
The points in time at which the daily statistics are sent.
|
CreateOrUpdateIMRobotRequest.Builder |
dingSignKey(String dingSignKey)
The signature key of DingTalk.
|
CreateOrUpdateIMRobotRequest.Builder |
enableOutgoing(Boolean enableOutgoing)
Specifies whether to enable the Outgoing feature.
|
CreateOrUpdateIMRobotRequest.Builder |
robotAddress(String robotAddress)
The webhook URL of the IM chatbot.
|
CreateOrUpdateIMRobotRequest.Builder |
robotId(Long robotId)
The ID of the IM chatbot.
|
CreateOrUpdateIMRobotRequest.Builder |
robotName(String robotName)
The name of the IM chatbot.
|
CreateOrUpdateIMRobotRequest.Builder |
token(String token)
The token required to enable the Outgoing feature.
|
CreateOrUpdateIMRobotRequest.Builder |
type(String type)
The type of the IM chatbot.
|
public CreateOrUpdateIMRobotRequest.Builder cardTemplate(String cardTemplate)
public CreateOrUpdateIMRobotRequest.Builder dailyNoc(Boolean dailyNoc)
* `false` (default): Daily statistics are not sent. * `true`: Daily statistics are sent. If you set the value to `true`, the **DailyNocTime** parameter is required.
public CreateOrUpdateIMRobotRequest.Builder dailyNocTime(String dailyNocTime)
public CreateOrUpdateIMRobotRequest.Builder dingSignKey(String dingSignKey)
public CreateOrUpdateIMRobotRequest.Builder enableOutgoing(Boolean enableOutgoing)
public CreateOrUpdateIMRobotRequest.Builder robotAddress(String robotAddress)
public CreateOrUpdateIMRobotRequest.Builder robotId(Long robotId)
> If you do not specify the parameter, a new IM chatbot is created.
public CreateOrUpdateIMRobotRequest.Builder robotName(String robotName)
public CreateOrUpdateIMRobotRequest.Builder token(String token)
public CreateOrUpdateIMRobotRequest.Builder type(String type)
* `dingding`: DingTalk chatbot * `wechat`: WeCom chatbot
public CreateOrUpdateIMRobotRequest build()
Copyright © 2024. All rights reserved.