code: public void setSharedDirectories(java.util.Collection<SharedDirectory> sharedDirectories) {
          if (sharedDirectories == null) {
              this.sharedDirectories = null;
              return;
          }
  
          this.sharedDirectories = new com.amazonaws.internal.SdkInternalList<SharedDirectory>(sharedDirectories);
      }
docs: <p>
  A list of all shared directories in your account.
  </p>
  
  @param sharedDirectories
  A list of all shared directories in your account.