Class AzNsActionGroup

java.lang.Object
com.azure.resourcemanager.monitor.models.AzNsActionGroup

public final class AzNsActionGroup extends Object
Azure action group.
  • Constructor Details

    • AzNsActionGroup

      public AzNsActionGroup()
  • Method Details

    • actionGroup

      public List<String> actionGroup()
      Get the actionGroup property: Azure Action Group reference.
      Returns:
      the actionGroup value.
    • withActionGroup

      public AzNsActionGroup withActionGroup(List<String> actionGroup)
      Set the actionGroup property: Azure Action Group reference.
      Parameters:
      actionGroup - the actionGroup value to set.
      Returns:
      the AzNsActionGroup object itself.
    • emailSubject

      public String emailSubject()
      Get the emailSubject property: Custom subject override for all email ids in Azure action group.
      Returns:
      the emailSubject value.
    • withEmailSubject

      public AzNsActionGroup withEmailSubject(String emailSubject)
      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

      public String customWebhookPayload()
      Get the customWebhookPayload property: Custom payload to be sent for all webhook URI in Azure action group.
      Returns:
      the customWebhookPayload value.
    • withCustomWebhookPayload

      public AzNsActionGroup withCustomWebhookPayload(String customWebhookPayload)
      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.