Class AzNsActionGroup
- java.lang.Object
-
- com.azure.resourcemanager.monitor.models.AzNsActionGroup
-
public final class AzNsActionGroup extends Object
Azure action group.
-
-
Constructor Summary
Constructors Constructor Description AzNsActionGroup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>actionGroup()Get the actionGroup property: Azure Action Group reference.StringcustomWebhookPayload()Get the customWebhookPayload property: Custom payload to be sent for all webhook URI in Azure action group.StringemailSubject()Get the emailSubject property: Custom subject override for all email ids in Azure action group.voidvalidate()Validates the instance.AzNsActionGroupwithActionGroup(List<String> actionGroup)Set the actionGroup property: Azure Action Group reference.AzNsActionGroupwithCustomWebhookPayload(String customWebhookPayload)Set the customWebhookPayload property: Custom payload to be sent for all webhook URI in Azure action group.AzNsActionGroupwithEmailSubject(String emailSubject)Set the emailSubject property: Custom subject override for all email ids in Azure action group.
-
-
-
Method Detail
-
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.
-
-