code: public void setTotalResources(java.util.Collection<Resource> totalResources) {
          if (totalResources == null) {
              this.totalResources = null;
              return;
          }
  
          this.totalResources = new com.amazonaws.internal.SdkInternalList<Resource>(totalResources);
      }
docs: <p>
  The resources available on the instance.
  </p>
  
  @param totalResources
  The resources available on the instance.