public static final class UpdateAlertContactRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
UpdateAlertContactRequest |
build() |
UpdateAlertContactRequest.Builder |
contactId(Long contactId)
The ID of the alert contact to be updated.
|
UpdateAlertContactRequest.Builder |
contactName(String contactName)
The new name of the alert contact.
|
UpdateAlertContactRequest.Builder |
dingRobotWebhookUrl(String dingRobotWebhookUrl)
The new webhook URL of the DingTalk chatbot.
|
UpdateAlertContactRequest.Builder |
email(String email)
The new email address of the alert contact.
|
UpdateAlertContactRequest.Builder |
phoneNum(String phoneNum)
The new mobile phone number of the alert contact.
|
UpdateAlertContactRequest.Builder |
regionId(String regionId)
The ID of the region.
|
UpdateAlertContactRequest.Builder |
systemNoc(Boolean systemNoc)
Specifies whether the alert contact receives system notifications.
|
public UpdateAlertContactRequest.Builder contactId(Long contactId)
public UpdateAlertContactRequest.Builder contactName(String contactName)
public UpdateAlertContactRequest.Builder dingRobotWebhookUrl(String dingRobotWebhookUrl)
> If you do not specify this parameter, the original parameter value is deleted. If you specify this parameter, the original parameter value is updated.
public UpdateAlertContactRequest.Builder email(String email)
> If you do not specify this parameter, the original parameter value is deleted. If you specify this parameter, the original parameter value is updated.
public UpdateAlertContactRequest.Builder phoneNum(String phoneNum)
> If you do not specify this parameter, the original parameter value is deleted. If you specify this parameter, the original parameter value is updated.
public UpdateAlertContactRequest.Builder regionId(String regionId)
public UpdateAlertContactRequest.Builder systemNoc(Boolean systemNoc)
* `true`: The alert contact receives system notifications. * `false`: The alert contact does not receive system notifications.
public UpdateAlertContactRequest build()
Copyright © 2024. All rights reserved.