code: public void setApprovedPatches(java.util.Collection<String> approvedPatches) {
          if (approvedPatches == null) {
              this.approvedPatches = null;
              return;
          }
  
          this.approvedPatches = new com.amazonaws.internal.SdkInternalList<String>(approvedPatches);
      }
docs: <p>
  A list of explicitly approved patches for the baseline.
  </p>
  <p>
  For information about accepted formats for lists of approved patches and rejected patches, see <a href=
  "https://docs.aws.amazon.com/systems-manager/latest/userguide/patch-manager-approved-rejected-package-name-formats.html"
  >Package Name Formats for Approved and Rejected Patch Lists</a> in the <i>AWS Systems Manager User Guide</i>.
  </p>
  
  @param approvedPatches
  A list of explicitly approved patches for the baseline.</p>
  <p>
  For information about accepted formats for lists of approved patches and rejected patches, see <a href=
  "https://docs.aws.amazon.com/systems-manager/latest/userguide/patch-manager-approved-rejected-package-name-formats.html"
  >Package Name Formats for Approved and Rejected Patch Lists</a> in the <i>AWS Systems Manager User
  Guide</i>.