public static class PutEventRuleTargetsRequest.PutEventRuleTargetsRequestWebhookParameters
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
id
The ID of the recipient that receives alert notifications.
|
String |
method
The HTTP request method.
|
String |
protocol
The name of the protocol.
|
String |
url
The callback URL.
|
| 构造器和说明 |
|---|
PutEventRuleTargetsRequestWebhookParameters() |
@NameInMap(value="Id") public String id
The ID of the recipient that receives alert notifications. Valid values of N: 1 to 5.
@NameInMap(value="Method") public String method
The HTTP request method. Valid values of N: 1 to 5.
Valid values: GET and POST.
@NameInMap(value="Protocol") public String protocol
The name of the protocol. Valid values of N: 1 to 5. Valid values:
* http
* telnet
* ping
@NameInMap(value="Url") public String url
The callback URL. Valid values of N: 1 to 5.
public PutEventRuleTargetsRequestWebhookParameters()
public static PutEventRuleTargetsRequest.PutEventRuleTargetsRequestWebhookParameters build(Map<String,?> map) throws Exception
Exceptionpublic PutEventRuleTargetsRequest.PutEventRuleTargetsRequestWebhookParameters setId(String id)
public String getId()
public PutEventRuleTargetsRequest.PutEventRuleTargetsRequestWebhookParameters setMethod(String method)
public String getMethod()
public PutEventRuleTargetsRequest.PutEventRuleTargetsRequestWebhookParameters setProtocol(String protocol)
public String getProtocol()
public PutEventRuleTargetsRequest.PutEventRuleTargetsRequestWebhookParameters setUrl(String url)
public String getUrl()
Copyright © 2024. All rights reserved.