public static final class CreateOrUpdateContactRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
CreateOrUpdateContactRequest |
build() |
CreateOrUpdateContactRequest.Builder |
contactId(Long contactId)
The ID of the alert contact.
|
CreateOrUpdateContactRequest.Builder |
contactName(String contactName)
The name of the alert contact.
|
CreateOrUpdateContactRequest.Builder |
corpUserId(String corpUserId)
The ID of the alert contact that is shown to the enterprise when the contact is mentioned with the at sign (@) by a third-party instant messaging (IM) tool.
|
CreateOrUpdateContactRequest.Builder |
dingRobotUrl(String dingRobotUrl)
The webhook URL of the DingTalk chatbot.
|
CreateOrUpdateContactRequest.Builder |
email(String email)
The email address of the alert contact.
|
CreateOrUpdateContactRequest.Builder |
isEmailVerify(Boolean isEmailVerify)
Specifies whether the email address is verified.
|
CreateOrUpdateContactRequest.Builder |
phone(String phone)
The mobile number of the alert contact.
|
CreateOrUpdateContactRequest.Builder |
reissueSendNotice(Long reissueSendNotice)
The operation that you want to perform if phone calls fail to be answered.
|
CreateOrUpdateContactRequest.Builder |
resourceGroupId(String resourceGroupId)
The resource group ID.
|
public CreateOrUpdateContactRequest.Builder contactId(Long contactId)
* If you do not specify this parameter, a new alert contact is created. * If you specify this parameter, the specified alert contact is modified.
public CreateOrUpdateContactRequest.Builder contactName(String contactName)
public CreateOrUpdateContactRequest.Builder corpUserId(String corpUserId)
public CreateOrUpdateContactRequest.Builder dingRobotUrl(String dingRobotUrl)
public CreateOrUpdateContactRequest.Builder email(String email)
> You must specify at least one of the **Phone** and **Email** parameters. Each mobile number or email address can be used for only one alert contact.
public CreateOrUpdateContactRequest.Builder isEmailVerify(Boolean isEmailVerify)
public CreateOrUpdateContactRequest.Builder phone(String phone)
> You must specify at least one of the **Phone** and **Email** parameters. Each mobile number or email address can be used for only one alert contact.
public CreateOrUpdateContactRequest.Builder reissueSendNotice(Long reissueSendNotice)
* 0: No operation is performed. * 1: A phone call is made again. * 2: A text message is sent. * 3 (default value): The global default value is used.
public CreateOrUpdateContactRequest.Builder resourceGroupId(String resourceGroupId)
public CreateOrUpdateContactRequest build()
Copyright © 2024. All rights reserved.