Class B2EventNotificationRule

  • All Implemented Interfaces:
    java.lang.Comparable<B2EventNotificationRule>

    public class B2EventNotificationRule
    extends java.lang.Object
    implements java.lang.Comparable<B2EventNotificationRule>
    One rule about under what condition(s) to send notifications for events in a bucket.
    • Constructor Detail

      • B2EventNotificationRule

        public B2EventNotificationRule​(java.lang.String name,
                                       java.util.TreeSet<java.lang.String> eventTypes,
                                       java.lang.String objectNamePrefix,
                                       B2EventNotificationTargetConfiguration targetConfiguration,
                                       boolean isEnabled,
                                       java.lang.Boolean isSuspended,
                                       java.lang.String suspensionReason)
      • B2EventNotificationRule

        public B2EventNotificationRule​(java.lang.String name,
                                       java.util.TreeSet<java.lang.String> eventTypes,
                                       java.lang.String objectNamePrefix,
                                       B2EventNotificationTargetConfiguration targetConfiguration,
                                       boolean isEnabled)
    • Method Detail

      • getName

        public java.lang.String getName()
      • getEventTypes

        public java.util.TreeSet<java.lang.String> getEventTypes()
      • getObjectNamePrefix

        public java.lang.String getObjectNamePrefix()
      • isEnabled

        public boolean isEnabled()
      • isSuspended

        public boolean isSuspended()
      • getSuspensionReason

        public java.lang.String getSuspensionReason()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object