code: public void setFlaggedResources(java.util.Collection<TrustedAdvisorResourceDetail> flaggedResources) {
          if (flaggedResources == null) {
              this.flaggedResources = null;
              return;
          }
  
          this.flaggedResources = new com.amazonaws.internal.SdkInternalList<TrustedAdvisorResourceDetail>(flaggedResources);
      }
docs: <p>
  The details about each resource listed in the check result.
  </p>
  
  @param flaggedResources
  The details about each resource listed in the check result.