public static final class CreateOrUpdateWebhookContactRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
CreateOrUpdateWebhookContactRequest.Builder |
bizHeaders(String bizHeaders)
The HTTP request headers.
|
CreateOrUpdateWebhookContactRequest.Builder |
bizParams(String bizParams)
The parameters in the HTTP request.
|
CreateOrUpdateWebhookContactRequest.Builder |
body(String body)
The notification template that is sent when an alert is triggered.
|
CreateOrUpdateWebhookContactRequest |
build() |
CreateOrUpdateWebhookContactRequest.Builder |
method(String method)
The HTTP request method.
|
CreateOrUpdateWebhookContactRequest.Builder |
recoverBody(String recoverBody)
The notification template that is sent when an alert is resolved.
|
CreateOrUpdateWebhookContactRequest.Builder |
url(String url)
The URL of the HTTP request **method**.
|
CreateOrUpdateWebhookContactRequest.Builder |
webhookId(Long webhookId)
The ID of the webhook alert contact.
|
CreateOrUpdateWebhookContactRequest.Builder |
webhookName(String webhookName)
The name of the webhook alert contact.
|
public CreateOrUpdateWebhookContactRequest.Builder bizHeaders(String bizHeaders)
public CreateOrUpdateWebhookContactRequest.Builder bizParams(String bizParams)
public CreateOrUpdateWebhookContactRequest.Builder body(String body)
public CreateOrUpdateWebhookContactRequest.Builder method(String method)
* Post * Get
public CreateOrUpdateWebhookContactRequest.Builder recoverBody(String recoverBody)
public CreateOrUpdateWebhookContactRequest.Builder url(String url)
public CreateOrUpdateWebhookContactRequest.Builder webhookId(Long webhookId)
* If you do not specify this parameter, a new webhook alert contact is created. * If you specify this parameter, the specified webhook alert contact is modified.
public CreateOrUpdateWebhookContactRequest.Builder webhookName(String webhookName)
public CreateOrUpdateWebhookContactRequest build()
Copyright © 2024. All rights reserved.