Class LimitResponse.Builder

  • Enclosing class:
    LimitResponse

    public static class LimitResponse.Builder
    extends java.lang.Object
    • Method Detail

      • type

        public LimitResponse.Builder type​(@NonNull
                                          @NonNull java.lang.String type)
        `type` is "Queue" or "Reject". "Queue" means that requests that can not be executed upon arrival are held in a queue until they can be executed or a queuing limit is reached. "Reject" means that requests that can not be executed upon arrival are rejected. Required.
        Returns:
        this.
      • toString

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