code: public UpdateRulesOfIpGroupRequest withUserRules(IpRuleItem... userRules) {
          if (this.userRules == null) {
              setUserRules(new com.amazonaws.internal.SdkInternalList<IpRuleItem>(userRules.length));
          }
          for (IpRuleItem ele : userRules) {
              this.userRules.add(ele);
          }
          return this;
      }
docs: <p>
  One or more rules.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setUserRules(java.util.Collection)} or {@link #withUserRules(java.util.Collection)} if you want to
  override the existing values.
  </p>
  
  @param userRules
  One or more rules.
  @return Returns a reference to this object so that method calls can be chained together.