public static final class UpdateWebhookRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
UpdateWebhookRequest.Builder |
body(String body)
The notification template that is sent when an alert is triggered.
|
UpdateWebhookRequest |
build() |
UpdateWebhookRequest.Builder |
contactId(Long contactId)
The ID of the webhook alert contact.
|
UpdateWebhookRequest.Builder |
contactName(String contactName)
The name of the webhook alert contact.
|
UpdateWebhookRequest.Builder |
httpHeaders(String httpHeaders)
The HTTP request headers.
|
UpdateWebhookRequest.Builder |
httpParams(String httpParams)
The parameters in the HTTP request.
|
UpdateWebhookRequest.Builder |
method(String method)
The HTTP request method.
|
UpdateWebhookRequest.Builder |
recoverBody(String recoverBody)
The notification template that is sent when an alert is resolved.
|
UpdateWebhookRequest.Builder |
regionId(String regionId)
The ID of the region.
|
UpdateWebhookRequest.Builder |
url(String url)
The URL of the HTTP request method.
|
public UpdateWebhookRequest.Builder body(String body)
public UpdateWebhookRequest.Builder contactId(Long contactId)
public UpdateWebhookRequest.Builder contactName(String contactName)
public UpdateWebhookRequest.Builder httpHeaders(String httpHeaders)
public UpdateWebhookRequest.Builder httpParams(String httpParams)
public UpdateWebhookRequest.Builder method(String method)
* `Get` * `Post`
public UpdateWebhookRequest.Builder recoverBody(String recoverBody)
public UpdateWebhookRequest.Builder regionId(String regionId)
public UpdateWebhookRequest.Builder url(String url)
public UpdateWebhookRequest build()
Copyright © 2024. All rights reserved.