docs: public TaskDefinition withRequiresAttributes(Attribute... requiresAttributes) {
          if (this.requiresAttributes == null) {
              setRequiresAttributes(new com.amazonaws.internal.SdkInternalList<Attribute>(requiresAttributes.length));
          }
          for (Attribute ele : requiresAttributes) {
              this.requiresAttributes.add(ele);
          }
          return this;
      }