code: public DescribeInstancePatchesResult withPatches(PatchComplianceData... patches) {
          if (this.patches == null) {
              setPatches(new com.amazonaws.internal.SdkInternalList<PatchComplianceData>(patches.length));
          }
          for (PatchComplianceData ele : patches) {
              this.patches.add(ele);
          }
          return this;
      }
docs: <p>
  Each entry in the array is a structure containing:
  </p>
  <p>
  Title (string)
  </p>
  <p>
  KBId (string)
  </p>
  <p>
  Classification (string)
  </p>
  <p>
  Severity (string)
  </p>
  <p>
  State (string, such as "INSTALLED" or "FAILED")
  </p>
  <p>
  InstalledTime (DateTime)
  </p>
  <p>
  InstalledBy (string)
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setPatches(java.util.Collection)} or {@link #withPatches(java.util.Collection)} if you want to override
  the existing values.
  </p>
  
  @param patches
  Each entry in the array is a structure containing:</p>
  <p>
  Title (string)
  </p>
  <p>
  KBId (string)
  </p>
  <p>
  Classification (string)
  </p>
  <p>
  Severity (string)
  </p>
  <p>
  State (string, such as "INSTALLED" or "FAILED")
  </p>
  <p>
  InstalledTime (DateTime)
  </p>
  <p>
  InstalledBy (string)
  @return Returns a reference to this object so that method calls can be chained together.