docs: public void setPlatforms(java.util.Collection<EnvironmentPlatform> platforms) {
          if (platforms == null) {
              this.platforms = null;
              return;
          }
  
          this.platforms = new java.util.ArrayList<EnvironmentPlatform>(platforms);
      }