![JAR search and dependency download from the Maven repository](/logo.png)
com.microsoft.azure.management.monitor.implementation.ActionGroupResourceInner Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-mgmt-monitor Show documentation
Show all versions of azure-mgmt-monitor Show documentation
This package contains Microsoft Azure Monitor SDK.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.monitor.implementation;
import java.util.List;
import com.microsoft.azure.management.monitor.EmailReceiver;
import com.microsoft.azure.management.monitor.SmsReceiver;
import com.microsoft.azure.management.monitor.WebhookReceiver;
import com.microsoft.azure.management.monitor.ItsmReceiver;
import com.microsoft.azure.management.monitor.AzureAppPushReceiver;
import com.microsoft.azure.management.monitor.AutomationRunbookReceiver;
import com.microsoft.azure.management.monitor.VoiceReceiver;
import com.microsoft.azure.management.monitor.LogicAppReceiver;
import com.microsoft.azure.management.monitor.AzureFunctionReceiver;
import com.microsoft.azure.management.monitor.ArmRoleReceiver;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.rest.serializer.JsonFlatten;
import com.microsoft.azure.Resource;
/**
* An action group resource.
*/
@JsonFlatten
public class ActionGroupResourceInner extends Resource {
/**
* The short name of the action group. This will be used in SMS messages.
*/
@JsonProperty(value = "properties.groupShortName", required = true)
private String groupShortName;
/**
* Indicates whether this action group is enabled. If an action group is
* not enabled, then none of its receivers will receive communications.
*/
@JsonProperty(value = "properties.enabled", required = true)
private boolean enabled;
/**
* The list of email receivers that are part of this action group.
*/
@JsonProperty(value = "properties.emailReceivers")
private List emailReceivers;
/**
* The list of SMS receivers that are part of this action group.
*/
@JsonProperty(value = "properties.smsReceivers")
private List smsReceivers;
/**
* The list of webhook receivers that are part of this action group.
*/
@JsonProperty(value = "properties.webhookReceivers")
private List webhookReceivers;
/**
* The list of ITSM receivers that are part of this action group.
*/
@JsonProperty(value = "properties.itsmReceivers")
private List itsmReceivers;
/**
* The list of AzureAppPush receivers that are part of this action group.
*/
@JsonProperty(value = "properties.azureAppPushReceivers")
private List azureAppPushReceivers;
/**
* The list of AutomationRunbook receivers that are part of this action
* group.
*/
@JsonProperty(value = "properties.automationRunbookReceivers")
private List automationRunbookReceivers;
/**
* The list of voice receivers that are part of this action group.
*/
@JsonProperty(value = "properties.voiceReceivers")
private List voiceReceivers;
/**
* The list of logic app receivers that are part of this action group.
*/
@JsonProperty(value = "properties.logicAppReceivers")
private List logicAppReceivers;
/**
* The list of azure function receivers that are part of this action group.
*/
@JsonProperty(value = "properties.azureFunctionReceivers")
private List azureFunctionReceivers;
/**
* The list of ARM role receivers that are part of this action group. Roles
* are Azure RBAC roles and only built-in roles are supported.
*/
@JsonProperty(value = "properties.armRoleReceivers")
private List armRoleReceivers;
/**
* Get the short name of the action group. This will be used in SMS messages.
*
* @return the groupShortName value
*/
public String groupShortName() {
return this.groupShortName;
}
/**
* Set the short name of the action group. This will be used in SMS messages.
*
* @param groupShortName the groupShortName value to set
* @return the ActionGroupResourceInner object itself.
*/
public ActionGroupResourceInner withGroupShortName(String groupShortName) {
this.groupShortName = groupShortName;
return this;
}
/**
* Get indicates whether this action group is enabled. If an action group is not enabled, then none of its receivers will receive communications.
*
* @return the enabled value
*/
public boolean enabled() {
return this.enabled;
}
/**
* Set indicates whether this action group is enabled. If an action group is not enabled, then none of its receivers will receive communications.
*
* @param enabled the enabled value to set
* @return the ActionGroupResourceInner object itself.
*/
public ActionGroupResourceInner withEnabled(boolean enabled) {
this.enabled = enabled;
return this;
}
/**
* Get the list of email receivers that are part of this action group.
*
* @return the emailReceivers value
*/
public List emailReceivers() {
return this.emailReceivers;
}
/**
* Set the list of email receivers that are part of this action group.
*
* @param emailReceivers the emailReceivers value to set
* @return the ActionGroupResourceInner object itself.
*/
public ActionGroupResourceInner withEmailReceivers(List emailReceivers) {
this.emailReceivers = emailReceivers;
return this;
}
/**
* Get the list of SMS receivers that are part of this action group.
*
* @return the smsReceivers value
*/
public List smsReceivers() {
return this.smsReceivers;
}
/**
* Set the list of SMS receivers that are part of this action group.
*
* @param smsReceivers the smsReceivers value to set
* @return the ActionGroupResourceInner object itself.
*/
public ActionGroupResourceInner withSmsReceivers(List smsReceivers) {
this.smsReceivers = smsReceivers;
return this;
}
/**
* Get the list of webhook receivers that are part of this action group.
*
* @return the webhookReceivers value
*/
public List webhookReceivers() {
return this.webhookReceivers;
}
/**
* Set the list of webhook receivers that are part of this action group.
*
* @param webhookReceivers the webhookReceivers value to set
* @return the ActionGroupResourceInner object itself.
*/
public ActionGroupResourceInner withWebhookReceivers(List webhookReceivers) {
this.webhookReceivers = webhookReceivers;
return this;
}
/**
* Get the list of ITSM receivers that are part of this action group.
*
* @return the itsmReceivers value
*/
public List itsmReceivers() {
return this.itsmReceivers;
}
/**
* Set the list of ITSM receivers that are part of this action group.
*
* @param itsmReceivers the itsmReceivers value to set
* @return the ActionGroupResourceInner object itself.
*/
public ActionGroupResourceInner withItsmReceivers(List itsmReceivers) {
this.itsmReceivers = itsmReceivers;
return this;
}
/**
* Get the list of AzureAppPush receivers that are part of this action group.
*
* @return the azureAppPushReceivers value
*/
public List azureAppPushReceivers() {
return this.azureAppPushReceivers;
}
/**
* Set the list of AzureAppPush receivers that are part of this action group.
*
* @param azureAppPushReceivers the azureAppPushReceivers value to set
* @return the ActionGroupResourceInner object itself.
*/
public ActionGroupResourceInner withAzureAppPushReceivers(List azureAppPushReceivers) {
this.azureAppPushReceivers = azureAppPushReceivers;
return this;
}
/**
* Get the list of AutomationRunbook receivers that are part of this action group.
*
* @return the automationRunbookReceivers value
*/
public List automationRunbookReceivers() {
return this.automationRunbookReceivers;
}
/**
* Set the list of AutomationRunbook receivers that are part of this action group.
*
* @param automationRunbookReceivers the automationRunbookReceivers value to set
* @return the ActionGroupResourceInner object itself.
*/
public ActionGroupResourceInner withAutomationRunbookReceivers(List automationRunbookReceivers) {
this.automationRunbookReceivers = automationRunbookReceivers;
return this;
}
/**
* Get the list of voice receivers that are part of this action group.
*
* @return the voiceReceivers value
*/
public List voiceReceivers() {
return this.voiceReceivers;
}
/**
* Set the list of voice receivers that are part of this action group.
*
* @param voiceReceivers the voiceReceivers value to set
* @return the ActionGroupResourceInner object itself.
*/
public ActionGroupResourceInner withVoiceReceivers(List voiceReceivers) {
this.voiceReceivers = voiceReceivers;
return this;
}
/**
* Get the list of logic app receivers that are part of this action group.
*
* @return the logicAppReceivers value
*/
public List logicAppReceivers() {
return this.logicAppReceivers;
}
/**
* Set the list of logic app receivers that are part of this action group.
*
* @param logicAppReceivers the logicAppReceivers value to set
* @return the ActionGroupResourceInner object itself.
*/
public ActionGroupResourceInner withLogicAppReceivers(List logicAppReceivers) {
this.logicAppReceivers = logicAppReceivers;
return this;
}
/**
* Get the list of azure function receivers that are part of this action group.
*
* @return the azureFunctionReceivers value
*/
public List azureFunctionReceivers() {
return this.azureFunctionReceivers;
}
/**
* Set the list of azure function receivers that are part of this action group.
*
* @param azureFunctionReceivers the azureFunctionReceivers value to set
* @return the ActionGroupResourceInner object itself.
*/
public ActionGroupResourceInner withAzureFunctionReceivers(List azureFunctionReceivers) {
this.azureFunctionReceivers = azureFunctionReceivers;
return this;
}
/**
* Get the list of ARM role receivers that are part of this action group. Roles are Azure RBAC roles and only built-in roles are supported.
*
* @return the armRoleReceivers value
*/
public List armRoleReceivers() {
return this.armRoleReceivers;
}
/**
* Set the list of ARM role receivers that are part of this action group. Roles are Azure RBAC roles and only built-in roles are supported.
*
* @param armRoleReceivers the armRoleReceivers value to set
* @return the ActionGroupResourceInner object itself.
*/
public ActionGroupResourceInner withArmRoleReceivers(List armRoleReceivers) {
this.armRoleReceivers = armRoleReceivers;
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy