Class ModifiableRuleProperties

java.lang.Object
com.mypurecloud.sdk.v2.model.ModifiableRuleProperties
All Implemented Interfaces:
Serializable

public class ModifiableRuleProperties extends Object implements Serializable
ModifiableRuleProperties
See Also:
  • Constructor Details

    • ModifiableRuleProperties

      public ModifiableRuleProperties()
    • ModifiableRuleProperties

      public ModifiableRuleProperties(Boolean initWithEmptyList)
  • Method Details

    • getId

      public String getId()
    • name

      public ModifiableRuleProperties name(String name)
      Name of the rule
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • description

      public ModifiableRuleProperties description(String description)
      The description of the rule.
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • enabled

      public ModifiableRuleProperties enabled(Boolean enabled)
      Indicates if the rule is enabled.
    • getEnabled

      public Boolean getEnabled()
    • setEnabled

      public void setEnabled(Boolean enabled)
    • notifications

      public ModifiableRuleProperties notifications(List<AlertNotification> notifications)
      The alert notification types to trigger when alarm state changes as well as the users they will be sent to.
    • getNotifications

      public List<AlertNotification> getNotifications()
    • setNotifications

      public void setNotifications(List<AlertNotification> notifications)
    • sendExitingAlarmNotifications

      public ModifiableRuleProperties sendExitingAlarmNotifications(Boolean sendExitingAlarmNotifications)
      Indicates if the alert will send a notification when it is closed.
    • getSendExitingAlarmNotifications

      public Boolean getSendExitingAlarmNotifications()
    • setSendExitingAlarmNotifications

      public void setSendExitingAlarmNotifications(Boolean sendExitingAlarmNotifications)
    • waitBetweenNotificationMs

      public ModifiableRuleProperties waitBetweenNotificationMs(Long waitBetweenNotificationMs)
      The amount of time in milliseconds to wait between notification.
    • getWaitBetweenNotificationMs

      public Long getWaitBetweenNotificationMs()
    • setWaitBetweenNotificationMs

      public void setWaitBetweenNotificationMs(Long waitBetweenNotificationMs)
    • conditions

      public ModifiableRuleProperties conditions(CommonRuleConditions conditions)
      The set of metric conditions that would trigger an alert.
    • getConditions

      public CommonRuleConditions getConditions()
    • setConditions

      public void setConditions(CommonRuleConditions conditions)
    • getSelfUri

      public String getSelfUri()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object