docs: public RegisterTaskDefinitionRequest withPlacementConstraints(TaskDefinitionPlacementConstraint... placementConstraints) {
          if (this.placementConstraints == null) {
              setPlacementConstraints(new com.amazonaws.internal.SdkInternalList<TaskDefinitionPlacementConstraint>(placementConstraints.length));
          }
          for (TaskDefinitionPlacementConstraint ele : placementConstraints) {
              this.placementConstraints.add(ele);
          }
          return this;
      }