docs: public ListCuratedEnvironmentImagesResult withPlatforms(EnvironmentPlatform... platforms) {
          if (this.platforms == null) {
              setPlatforms(new java.util.ArrayList<EnvironmentPlatform>(platforms.length));
          }
          for (EnvironmentPlatform ele : platforms) {
              this.platforms.add(ele);
          }
          return this;
      }