Class ActivityLogAlertActionGroup
java.lang.Object
com.azure.resourcemanager.monitor.models.ActivityLogAlertActionGroup
A pointer to an Azure Action Group.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ActivityLogAlertActionGroup class. -
Method Summary
Modifier and TypeMethodDescriptionGet the actionGroupId property: The resource ID of the Action Group.voidvalidate()Validates the instance.Get the webhookProperties property: the dictionary of custom properties to include with the post operation.withActionGroupId(String actionGroupId) Set the actionGroupId property: The resource ID of the Action Group.withWebhookProperties(Map<String, String> webhookProperties) Set the webhookProperties property: the dictionary of custom properties to include with the post operation.
-
Constructor Details
-
ActivityLogAlertActionGroup
public ActivityLogAlertActionGroup()Creates an instance of ActivityLogAlertActionGroup class.
-
-
Method Details
-
actionGroupId
Get the actionGroupId property: The resource ID of the Action Group. This cannot be null or empty.- Returns:
- the actionGroupId value.
-
withActionGroupId
Set the actionGroupId property: The resource ID of the Action Group. This cannot be null or empty.- Parameters:
actionGroupId- the actionGroupId value to set.- Returns:
- the ActivityLogAlertActionGroup object itself.
-
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
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.
-