Class ActivityLogAlertActionGroup
- java.lang.Object
-
- com.azure.resourcemanager.monitor.models.ActivityLogAlertActionGroup
-
public final class ActivityLogAlertActionGroup extends Object
A pointer to an Azure Action Group.
-
-
Constructor Summary
Constructors Constructor Description ActivityLogAlertActionGroup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringactionGroupId()Get the actionGroupId property: The resourceId of the action group.voidvalidate()Validates the instance.Map<String,String>webhookProperties()Get the webhookProperties property: the dictionary of custom properties to include with the post operation.ActivityLogAlertActionGroupwithActionGroupId(String actionGroupId)Set the actionGroupId property: The resourceId of the action group.ActivityLogAlertActionGroupwithWebhookProperties(Map<String,String> webhookProperties)Set the webhookProperties property: the dictionary of custom properties to include with the post operation.
-
-
-
Method Detail
-
actionGroupId
public String actionGroupId()
Get the actionGroupId property: The resourceId of the action group. This cannot be null or empty.- Returns:
- the actionGroupId value.
-
withActionGroupId
public ActivityLogAlertActionGroup withActionGroupId(String actionGroupId)
Set the actionGroupId property: The resourceId of the action group. This cannot be null or empty.- Parameters:
actionGroupId- the actionGroupId value to set.- Returns:
- the ActivityLogAlertActionGroup object itself.
-
webhookProperties
public Map<String,String> webhookProperties()
Get the webhookProperties property: the dictionary of custom properties to include with the post operation. These data are appended to the webhook payload.- Returns:
- the webhookProperties value.
-
withWebhookProperties
public ActivityLogAlertActionGroup withWebhookProperties(Map<String,String> webhookProperties)
Set the webhookProperties property: the dictionary of custom properties to include with the post operation. These data are appended to the webhook payload.- Parameters:
webhookProperties- the webhookProperties value to set.- Returns:
- the ActivityLogAlertActionGroup object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-