code: public DescribeOperatingSystemsResult withOperatingSystems(OperatingSystem... operatingSystems) {
          if (this.operatingSystems == null) {
              setOperatingSystems(new com.amazonaws.internal.SdkInternalList<OperatingSystem>(operatingSystems.length));
          }
          for (OperatingSystem ele : operatingSystems) {
              this.operatingSystems.add(ele);
          }
          return this;
      }
docs: <p>
  Contains information in response to a <code>DescribeOperatingSystems</code> request.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setOperatingSystems(java.util.Collection)} or {@link #withOperatingSystems(java.util.Collection)} if you
  want to override the existing values.
  </p>
  
  @param operatingSystems
  Contains information in response to a <code>DescribeOperatingSystems</code> request.
  @return Returns a reference to this object so that method calls can be chained together.