docs: public DocumentDescription withPlatformTypes(String... platformTypes) {
          if (this.platformTypes == null) {
              setPlatformTypes(new com.amazonaws.internal.SdkInternalList<String>(platformTypes.length));
          }
          for (String ele : platformTypes) {
              this.platformTypes.add(ele);
          }
          return this;
      }