Class AzNsActionGroup
java.lang.Object
com.azure.resourcemanager.monitor.models.AzNsActionGroup
Azure action group.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the actionGroup property: Azure Action Group reference.Get the customWebhookPayload property: Custom payload to be sent for all webhook URI in Azure action group.Get the emailSubject property: Custom subject override for all email ids in Azure action group.voidvalidate()Validates the instance.withActionGroup(List<String> actionGroup) Set the actionGroup property: Azure Action Group reference.withCustomWebhookPayload(String customWebhookPayload) Set the customWebhookPayload property: Custom payload to be sent for all webhook URI in Azure action group.withEmailSubject(String emailSubject) Set the emailSubject property: Custom subject override for all email ids in Azure action group.
-
Constructor Details
-
AzNsActionGroup
public AzNsActionGroup()
-
-
Method Details
-
actionGroup
Get the actionGroup property: Azure Action Group reference.- Returns:
- the actionGroup value.
-
withActionGroup
Set the actionGroup property: Azure Action Group reference.- Parameters:
actionGroup- the actionGroup value to set.- Returns:
- the AzNsActionGroup object itself.
-
emailSubject
Get the emailSubject property: Custom subject override for all email ids in Azure action group.- Returns:
- the emailSubject value.
-
withEmailSubject
Set the emailSubject property: Custom subject override for all email ids in Azure action group.- Parameters:
emailSubject- the emailSubject value to set.- Returns:
- the AzNsActionGroup object itself.
-
customWebhookPayload
Get the customWebhookPayload property: Custom payload to be sent for all webhook URI in Azure action group.- Returns:
- the customWebhookPayload value.
-
withCustomWebhookPayload
Set the customWebhookPayload property: Custom payload to be sent for all webhook URI in Azure action group.- Parameters:
customWebhookPayload- the customWebhookPayload value to set.- Returns:
- the AzNsActionGroup object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-