Package com.mypurecloud.sdk.v2.model
Class ModifiableRuleProperties
java.lang.Object
com.mypurecloud.sdk.v2.model.ModifiableRuleProperties
- All Implemented Interfaces:
Serializable
ModifiableRuleProperties
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconditions(CommonRuleConditions conditions) The set of metric conditions that would trigger an alert.description(String description) The description of the rule.Indicates if the rule is enabled.booleangetId()getName()inthashCode()Name of the rulenotifications(List<AlertNotification> notifications) The alert notification types to trigger when alarm state changes as well as the users they will be sent to.sendExitingAlarmNotifications(Boolean sendExitingAlarmNotifications) Indicates if the alert will send a notification when it is closed.voidsetConditions(CommonRuleConditions conditions) voidsetDescription(String description) voidsetEnabled(Boolean enabled) voidvoidsetNotifications(List<AlertNotification> notifications) voidsetSendExitingAlarmNotifications(Boolean sendExitingAlarmNotifications) voidsetWaitBetweenNotificationMs(Long waitBetweenNotificationMs) toString()waitBetweenNotificationMs(Long waitBetweenNotificationMs) The amount of time in milliseconds to wait between notification.
-
Constructor Details
-
ModifiableRuleProperties
public ModifiableRuleProperties() -
ModifiableRuleProperties
-
-
Method Details
-
getId
-
name
Name of the rule -
getName
-
setName
-
description
The description of the rule. -
getDescription
-
setDescription
-
enabled
Indicates if the rule is enabled. -
getEnabled
-
setEnabled
-
notifications
The alert notification types to trigger when alarm state changes as well as the users they will be sent to. -
getNotifications
-
setNotifications
-
sendExitingAlarmNotifications
public ModifiableRuleProperties sendExitingAlarmNotifications(Boolean sendExitingAlarmNotifications) Indicates if the alert will send a notification when it is closed. -
getSendExitingAlarmNotifications
-
setSendExitingAlarmNotifications
-
waitBetweenNotificationMs
The amount of time in milliseconds to wait between notification. -
getWaitBetweenNotificationMs
-
setWaitBetweenNotificationMs
-
conditions
The set of metric conditions that would trigger an alert. -
getConditions
-
setConditions
-
getSelfUri
-
equals
-
hashCode
public int hashCode() -
toString
-