code: public void setLimits(java.util.Collection<Limit> limits) {
          if (limits == null) {
              this.limits = null;
              return;
          }
  
          this.limits = new java.util.ArrayList<Limit>(limits);
      }
docs: <p>
  Specifies how many protections of a given type you can create.
  </p>
  
  @param limits
  Specifies how many protections of a given type you can create.