code: public ListActiveViolationsResult withActiveViolations(ActiveViolation... activeViolations) {
          if (this.activeViolations == null) {
              setActiveViolations(new java.util.ArrayList<ActiveViolation>(activeViolations.length));
          }
          for (ActiveViolation ele : activeViolations) {
              this.activeViolations.add(ele);
          }
          return this;
      }
docs: <p>
  The list of active violations.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setActiveViolations(java.util.Collection)} or {@link #withActiveViolations(java.util.Collection)} if you
  want to override the existing values.
  </p>
  
  @param activeViolations
  The list of active violations.
  @return Returns a reference to this object so that method calls can be chained together.