public class AlertingAction extends Action
Constructor and Description |
---|
AlertingAction() |
Modifier and Type | Method and Description |
---|---|
AzNsActionGroup |
aznsAction()
Get azure action group reference.
|
AlertSeverity |
severity()
Get severity of the alert.
|
Integer |
throttlingInMin()
Get time (in minutes) for which Alerts should be throttled or suppressed.
|
TriggerCondition |
trigger()
Get the trigger condition that results in the alert rule being.
|
AlertingAction |
withAznsAction(AzNsActionGroup aznsAction)
Set azure action group reference.
|
AlertingAction |
withSeverity(AlertSeverity severity)
Set severity of the alert.
|
AlertingAction |
withThrottlingInMin(Integer throttlingInMin)
Set time (in minutes) for which Alerts should be throttled or suppressed.
|
AlertingAction |
withTrigger(TriggerCondition trigger)
Set the trigger condition that results in the alert rule being.
|
public AlertSeverity severity()
public AlertingAction withSeverity(AlertSeverity severity)
severity
- the severity value to setpublic AzNsActionGroup aznsAction()
public AlertingAction withAznsAction(AzNsActionGroup aznsAction)
aznsAction
- the aznsAction value to setpublic Integer throttlingInMin()
public AlertingAction withThrottlingInMin(Integer throttlingInMin)
throttlingInMin
- the throttlingInMin value to setpublic TriggerCondition trigger()
public AlertingAction withTrigger(TriggerCondition trigger)
trigger
- the trigger value to setCopyright © 2019. All rights reserved.