docs: public TaskDefinition withCompatibilities(String... compatibilities) {
          if (this.compatibilities == null) {
              setCompatibilities(new com.amazonaws.internal.SdkInternalList<String>(compatibilities.length));
          }
          for (String ele : compatibilities) {
              this.compatibilities.add(ele);
          }
          return this;
      }