public final class MetricAlertAction extends Object
| Constructor and Description |
|---|
MetricAlertAction() |
| Modifier and Type | Method and Description |
|---|---|
String |
actionGroupId()
Get the actionGroupId property: the id of the action group to use.
|
void |
validate()
Validates the instance.
|
Map<String,String> |
webhookProperties()
Get the webhookProperties property: The properties of a webhook object.
|
MetricAlertAction |
withActionGroupId(String actionGroupId)
Set the actionGroupId property: the id of the action group to use.
|
MetricAlertAction |
withWebhookProperties(Map<String,String> webhookProperties)
Set the webhookProperties property: The properties of a webhook object.
|
public String actionGroupId()
public MetricAlertAction withActionGroupId(String actionGroupId)
actionGroupId - the actionGroupId value to set.public Map<String,String> webhookProperties()
public MetricAlertAction withWebhookProperties(Map<String,String> webhookProperties)
webhookProperties - the webhookProperties value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.