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