code: public DescribePatchBaselinesResult withBaselineIdentities(PatchBaselineIdentity... baselineIdentities) {
          if (this.baselineIdentities == null) {
              setBaselineIdentities(new com.amazonaws.internal.SdkInternalList<PatchBaselineIdentity>(baselineIdentities.length));
          }
          for (PatchBaselineIdentity ele : baselineIdentities) {
              this.baselineIdentities.add(ele);
          }
          return this;
      }
docs: <p>
  An array of PatchBaselineIdentity elements.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setBaselineIdentities(java.util.Collection)} or {@link #withBaselineIdentities(java.util.Collection)} if
  you want to override the existing values.
  </p>
  
  @param baselineIdentities
  An array of PatchBaselineIdentity elements.
  @return Returns a reference to this object so that method calls can be chained together.