docs: public SendMessageBatchResult withFailed(BatchResultErrorEntry... failed) {
          if (this.failed == null) {
              setFailed(new com.amazonaws.internal.SdkInternalList<BatchResultErrorEntry>(failed.length));
          }
          for (BatchResultErrorEntry ele : failed) {
              this.failed.add(ele);
          }
          return this;
      }