Class ArmRoleReceiver
java.lang.Object
com.microsoft.azure.management.monitor.ArmRoleReceiver
An arm role receiver.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionname()
Get the name of the arm role receiver.roleId()
Get the arm role id.boolean
Get indicates whether to use common alert schema.Set the name of the arm role receiver.withRoleId
(String roleId) Set the arm role id.withUseCommonAlertSchema
(boolean useCommonAlertSchema) Set indicates whether to use common alert schema.
-
Constructor Details
-
ArmRoleReceiver
public ArmRoleReceiver()
-
-
Method Details
-
name
Get the name of the arm role receiver. Names must be unique across all receivers within an action group.- Returns:
- the name value
-
withName
Set the name of the arm role receiver. Names must be unique across all receivers within an action group.- Parameters:
name
- the name value to set- Returns:
- the ArmRoleReceiver object itself.
-
roleId
Get the arm role id.- Returns:
- the roleId value
-
withRoleId
Set the arm role id.- Parameters:
roleId
- the roleId value to set- Returns:
- the ArmRoleReceiver object itself.
-
useCommonAlertSchema
public boolean useCommonAlertSchema()Get indicates whether to use common alert schema.- Returns:
- the useCommonAlertSchema value
-
withUseCommonAlertSchema
Set indicates whether to use common alert schema.- Parameters:
useCommonAlertSchema
- the useCommonAlertSchema value to set- Returns:
- the ArmRoleReceiver object itself.
-