Class AutomationAddToBatchRetain


  • public final class AutomationAddToBatchRetain
    extends java.lang.Object
    • Method Detail

      • getType

        public AutomationAddToBatchRetainType getType()
        Returns:
        Keep N number of notifications based on the type. First/Last N based on notification received. highest/lowest based on a scoring key providing in the data accessed by sort_key
      • getCount

        public int getCount()
        Returns:
        The number of records to keep in batch. Default is 10 and only configurable by requesting from support. When configurable minimum is 2 and maximum is 100.
      • getSortKey

        public java.util.Optional<java.lang.String> getSortKey()
        Returns:
        Defines the data value data[sort_key] that is used to sort the stored items. Required when type is set to highest or lowest.
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • getAdditionalProperties

        public java.util.Map<java.lang.String,​java.lang.Object> getAdditionalProperties()
      • hashCode

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

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