code: public DescribeLogGroupsResult withLogGroups(LogGroup... logGroups) {
          if (this.logGroups == null) {
              setLogGroups(new com.amazonaws.internal.SdkInternalList<LogGroup>(logGroups.length));
          }
          for (LogGroup ele : logGroups) {
              this.logGroups.add(ele);
          }
          return this;
      }
docs: <p>
  The log groups.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setLogGroups(java.util.Collection)} or {@link #withLogGroups(java.util.Collection)} if you want to
  override the existing values.
  </p>
  
  @param logGroups
  The log groups.
  @return Returns a reference to this object so that method calls can be chained together.