code: public void setSources(java.util.Collection<PatchSource> sources) {
          if (sources == null) {
              this.sources = null;
              return;
          }
  
          this.sources = new com.amazonaws.internal.SdkInternalList<PatchSource>(sources);
      }
docs: <p>
  Information about the patches to use to update the instances, including target operating systems and source
  repositories. Applies to Linux instances only.
  </p>
  
  @param sources
  Information about the patches to use to update the instances, including target operating systems and
  source repositories. Applies to Linux instances only.