Class Limit.LimitBuilder

  • Enclosing class:
    Limit

    public static class Limit.LimitBuilder
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Limit build()  
      Limit.LimitBuilder max​(java.lang.Integer max)
      The maximum number of narrowcast messages to send.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • max

        public Limit.LimitBuilder max​(java.lang.Integer max)
        The maximum number of narrowcast messages to send. Use this parameter to limit the number of narrowcast messages sent. The recipients will be chosen at random.
        Returns:
        this.
      • build

        public Limit build()
      • toString

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