docs: public TaskDefinition withContainerDefinitions(ContainerDefinition... containerDefinitions) {
          if (this.containerDefinitions == null) {
              setContainerDefinitions(new com.amazonaws.internal.SdkInternalList<ContainerDefinition>(containerDefinitions.length));
          }
          for (ContainerDefinition ele : containerDefinitions) {
              this.containerDefinitions.add(ele);
          }
          return this;
      }