public class RuleWebhookAction extends RuleAction
| Constructor and Description |
|---|
RuleWebhookAction() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
properties()
Get the properties property: the dictionary of custom properties to include with the post operation.
|
String |
serviceUri()
Get the serviceUri property: the service uri to Post the notification when the alert activates or resolves.
|
void |
validate()
Validates the instance.
|
RuleWebhookAction |
withProperties(Map<String,String> properties)
Set the properties property: the dictionary of custom properties to include with the post operation.
|
RuleWebhookAction |
withServiceUri(String serviceUri)
Set the serviceUri property: the service uri to Post the notification when the alert activates or resolves.
|
public String serviceUri()
public RuleWebhookAction withServiceUri(String serviceUri)
serviceUri - the serviceUri value to set.public Map<String,String> properties()
public RuleWebhookAction withProperties(Map<String,String> properties)
properties - the properties value to set.public void validate()
validate in class RuleActionIllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.