docs: public RegisterTaskDefinitionRequest withRequiresCompatibilities(String... requiresCompatibilities) {
          if (this.requiresCompatibilities == null) {
              setRequiresCompatibilities(new com.amazonaws.internal.SdkInternalList<String>(requiresCompatibilities.length));
          }
          for (String ele : requiresCompatibilities) {
              this.requiresCompatibilities.add(ele);
          }
          return this;
      }